accelerInt  v0.1
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 }
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
#define EC_success
Successful time step.