25 #ifdef STIFFNESS_MEASURE 26 std::vector<double> max_stepsize;
43 for (
int i = 0; i < num_threads; ++i)
66 #ifdef STIFFNESS_MEASURE 76 const char* name =
"rk78-int";
87 #ifdef STIFFNESS_MEASURE 88 stepsizes = fopen(
"stepsize_log.txt",
"w");
97 #ifdef STIFFNESS_MEASURE 98 for (
int i = 0; i < max_stepsize.size(); ++i){
99 fprintf(stepsizes,
"%d\t%.16e\n", i, max_stepsize[i]);
A wrapper class to evaluate the rhs function y' = f(y) stores the state variable, and provides to dyd...
std::vector< controller > controllers
ODE controllers.
std::vector< state_type * > state_vectors
State vector containers for boost.
std::vector< rhs_eval * > evaluators
RHS wrappers for boost.
const char * solver_name()
Returns a descriptive solver name.
void solver_log()
Executes solver specific logging tasks.
void init_solver_log()
Initializes solver specific items for logging.
std::vector< double > state_type
state vector
runge_kutta_fehlberg78< state_type, double > stepper
solver type
void initialize_solver(int)
Initializes the solver.
std::vector< stepper * > steppers
Addaptive timesteppers.
void cleanup_solver(int)
Cleans up the created solvers.
Defines an interface for boost's runge_kutta_fehlberg78 solver.