23 #ifndef _LSODER_INTEGRATOR_H_
24 #define _LSODER_INTEGRATOR_H_
26 #include "integrator.h"
28 namespace MBSimIntegrator {
37 static void fzdot(
int* zSize,
double* t,
double* z_,
double* zd_);
38 static void fsv(
int* zSize,
double* t,
double* z_,
int* nsv,
double* sv_);
58 void setMaximalStepSize(
double dtMax_) {
dtMax = dtMax_;}
59 void setMinimalStepSize(
double dtMin_) {
dtMin = dtMin_;}
61 void setAbsoluteTolerance(
double aTol_) {
aTol =
fmatvec::Vec(1,fmatvec::INIT,aTol_);}
62 void setRelativeTolernace(
double rTol_) {
rTol = rTol_;}
63 void setInitialStepSize(
double dt0_) {
dt0 = dt0_;}
65 void setPlotOnRoot(
bool b) {plotOnRoot = b;}
ODE-Integrator LSODER Integrator with root finding for ODEs. This integrator uses LSODE from http://w...
Definition: lsoder_integrator.h:33
double dtMin
Definition: lsoder_integrator.h:43
double dtMax
Definition: lsoder_integrator.h:41
Vector< Ref, double > Vec
double rTol
Definition: lsoder_integrator.h:47
solver interface for modelling and simulation of dynamic systems
Definition: dynamic_system_solver.h:48
fmatvec::Vec aTol
Definition: lsoder_integrator.h:45
double dt0
Definition: lsoder_integrator.h:49
void integrate(MBSim::DynamicSystemSolver &system)
start the integration
Definition: lsoder_integrator.cc:58
integrator-interface for dynamic systems
Definition: integrator.h:40
static DynamicSystemSolver * system
dynamic system
Definition: solver.h:65