20 #ifndef _RKSUITE_INTEGRATOR_H_
21 #define _RKSUITE_INTEGRATOR_H_
23 #include "integrator.h"
47 void setMethod(
int method_) {method = method_;}
48 void setrTol(
double rTol_) {
rTol = rTol_;}
49 void setThreshold(
const fmatvec::Vec &thres_) {
thres.resize() = thres_;}
50 void setThreshold(
double thres_) {
thres.resize() = fmatvec::Vec(1,fmatvec::INIT,thres_);}
51 void setInitialStepSize(
double dt0_) {
dt0 = dt0_;}
62 static void fzdot(
double* t,
double* z_,
double* zd_);
75 int ndworkarray, messages, integrationSteps;
76 double t, tPlot, s0, time;
78 fmatvec::Vec z, zdGot, zMax;
80 std::ofstream integPlot;