accelerInt  v0.1
radau2a_props.c
Go to the documentation of this file.
1 
5 #include "radau2a_props.h"
6 
13 void check_error(int tid, int code)
14 {
15  switch(code)
16  {
18  printf("During integration of ODE# %d, an error occured on too many consecutive integration steps,"
19  "exiting...\n", tid);
20  exit(code);
22  printf("During integration of ODE# %d, the allowed number of integration steps was exceeded,"
23  "exiting...\n", tid);
24  exit(code);
26  printf("During integration of ODE# %d, the stepsize 'h' was decreased such that h = t + h,"
27  "exiting...\n", tid);
28  exit(code);
30  printf("During integration of ODE# %d, the allowed number of newton iteration steps was exceeded,"
31  "exiting...\n", tid);
32  exit(code);
33  }
34 }
#define EC_consecutive_steps
Maximum number of consecutive internal timesteps with error reached.
Various macros controlling behaviour of RADAU2A algorithm.
void check_error(int tid, int code)
Checks the return code of the given thread (IVP) for an error, and exits if found.
Definition: radau2a_props.c:13
#define EC_newton_max_iterations_exceeded
Maximum allowed Newton Iteration steps exceeded.
#define EC_max_steps_exceeded
Maximum number of internal timesteps exceeded.
#define EC_h_plus_t_equals_h
Timescale reduced such that t + h == t in floating point math.