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 (xercesc::DOMElement *element)
 initialize integrator
virtual xercesc::DOMElement * writeXMLFile (xercesc::DOMNode *element)
virtual std::string getType () const

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::VecInt iWork
fmatvec::VecInt jsv
std::ofstream integPlot

Detailed Description

ODE-Integrator LSODAR Integrator with root finding for ODEs.

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


Member Function Documentation

virtual std::string MBSim::LSODARIntegrator::getType ( ) const [inline, virtual]
Returns:
std::string representation

Reimplemented from MBSim::Integrator.

virtual void MBSim::LSODARIntegrator::initializeUsingXML ( xercesc::DOMElement *  element) [virtual]

initialize integrator

Parameters:
XMLdescription

Reimplemented from MBSim::Integrator.

start the integration

Parameters:
dynamicsystem to be integrated Each class implemeting this function should call debugInit first.

Implements MBSim::Integrator.


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