MBSim

Project Page
Public Member Functions | Static Private Member Functions | Private Attributes
MBSim::LSODARIntegrator Class Reference

ODE-Integrator LSODAR Integrator with root finding for ODEs. More...

#include <lsodar_integrator.h>

Inheritance diagram for MBSim::LSODARIntegrator:
MBSim::Integrator

List of all members.

Public Member Functions

void setMaximalStepSize (double dtMax_)
void setMinimalStepSize (double dtMin_)
void setAbsoluteTolerance (const fmatvec::Vec &aTol_)
void setAbsoluteTolerance (double aTol_)
void setRelativeTolerance (double rTol_)
void setInitialStepSize (double dt0_)
void setPlotOnRoot (bool b)
void integrate (DynamicSystemSolver &system)
 start the integration
void preIntegrate (DynamicSystemSolver &system)
void subIntegrate (DynamicSystemSolver &system, double tStop)
void postIntegrate (DynamicSystemSolver &system)
virtual void initializeUsingXML (TiXmlElement *element)
 initialize integrator
- Public Member Functions inherited from MBSim::Integrator
 Integrator ()
 constructor
virtual ~Integrator ()
 destructor
void setStartTime (double tStart_)
void setEndTime (double tEnd_)
void setPlotStepSize (double dtPlot_)
void setInitialState (const fmatvec::Vec &z0_)
void setWarnLevel (int level)
void setOutput (bool flag)
double getStartTime ()

Static Private Member Functions

static void fzdot (int *zSize, double *t, double *z_, double *zd_)
static void fsv (int *zSize, double *t, double *z_, int *nsv, double *sv_)

Private Attributes

double dtMax
 maximal step size
double dtMin
 minimal step size
fmatvec::Vec aTol
 Absolute Toleranz.
double rTol
 Relative Toleranz.
double dt0
 step size for the first step
bool plotOnRoot
int zSize
int iTol
int istate
int nsv
int lrWork
int liWork
int integrationSteps
double t
double tPlot
double s0
double time
fmatvec::Vec z
fmatvec::Vec rWork
fmatvec::Vector< int > iWork
fmatvec::Vector< int > jsv
std::ofstream integPlot

Additional Inherited Members

- Protected Attributes inherited from MBSim::Integrator
double tStart
 start, end, plot time
double tEnd
double dtPlot
fmatvec::Vec z0
 initial state
int warnLevel
 warn level
bool output
 flag for ouput printing
std::string name
 name of integrator
- Static Protected Attributes inherited from MBSim::Integrator
static DynamicSystemSolver * system
 integrated dynamic system

Detailed Description

ODE-Integrator LSODAR Integrator with root finding for ODEs.

This integrator uses LSODAR from http://www.netlib.org .


Member Function Documentation

virtual void MBSim::LSODARIntegrator::initializeUsingXML ( TiXmlElement *  element)
virtual

initialize integrator

Parameters:
XMLdescription

Reimplemented from MBSim::Integrator.

void MBSim::LSODARIntegrator::integrate ( DynamicSystemSolver &  system)
virtual

start the integration

Parameters:
dynamicsystem to be integrated

Implements MBSim::Integrator.


The documentation for this class was generated from the following file: