23 #ifndef _ODEX_INTEGRATOR_H_
24 #define _ODEX_INTEGRATOR_H_
26 #include "integrator.h"
28 namespace MBSimIntegrator {
37 static void fzdot(
int* n,
double* t,
double* z,
double* zd,
double* rpar,
int* ipar);
38 static void plot(
int* nr,
double* told,
double* t,
double* z,
int* n,
double* con,
int *ncon,
int* icomp,
int* nd,
double* rpar,
int* ipar,
int* irtrn);
42 static std::ofstream integPlot;
62 void setAbsoluteTolerance(
double aTol_) {
aTol =
fmatvec::Vec(1,fmatvec::INIT,aTol_);}
64 void setRelativeTolernace(
double rTol_) {
rTol =
fmatvec::Vec(1,fmatvec::INIT,rTol_);}
65 void setInitialStepSize(
double dt0_) {
dt0 = dt0_;}
Vector< Ref, double > Vec
solver interface for modelling and simulation of dynamic systems
Definition: dynamic_system_solver.h:48
int maxSteps
Definition: odex_integrator.h:54
fmatvec::Vec rTol
Definition: odex_integrator.h:50
ODE-Integrator ODEX.
Definition: odex_integrator.h:33
void integrate(MBSim::DynamicSystemSolver &system)
start the integration
Definition: odex_integrator.cc:77
fmatvec::Vec aTol
Definition: odex_integrator.h:48
integrator-interface for dynamic systems
Definition: integrator.h:40
double dt0
Definition: odex_integrator.h:52
static DynamicSystemSolver * system
dynamic system
Definition: solver.h:65