accelerInt
v0.1
rkc
rkc_props.c
Go to the documentation of this file.
1
5
#include "
rkc_props.h
"
6
13
void
check_error
(
int
tid,
int
code)
14
{
15
if
(code !=
EC_success
)
16
{
17
printf(
"During integration of ODE# %d, an unknown error occurred,"
18
"exiting...\n"
, tid);
19
exit(code);
20
}
21
}
check_error
void check_error(int tid, int code)
Checks the return code of the given thread (IVP) for an error, and exits if found.
Definition:
rkc_props.c:13
EC_success
#define EC_success
Successful time step.
Definition:
radau2a_props.cuh:73
rkc_props.h
Generated by
1.8.14