MBSim

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

ODE-Integrator ODEX. More...

#include <odex_integrator.h>

Inheritance diagram for MBSim::ODEXIntegrator:
MBSim::Integrator

List of all members.

Public Member Functions

void setAbsoluteTolerance (const fmatvec::Vec &aTol_)
void setAbsoluteTolerance (double aTol_)
void setRelativeTolernace (const fmatvec::Vec &rTol_)
void setRelativeTolernace (double rTol_)
void setInitialStepSize (double dt0_)
void integrate (DynamicSystemSolver &system)
 start the integration
- 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 ()
virtual void preIntegrate (DynamicSystemSolver &system)
virtual void subIntegrate (DynamicSystemSolver &system, double tStop)
virtual void postIntegrate (DynamicSystemSolver &system)
virtual void initializeUsingXML (TiXmlElement *element)
 initialize integrator

Static Private Member Functions

static void fzdot (int *n, double *t, double *z, double *zd, double *rpar, int *ipar)
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)

Private Attributes

fmatvec::Vec aTol
 Absolute Toleranz.
fmatvec::Vec rTol
 Relative Toleranz.
double dt0
 Step size for the first step.
int maxSteps
 Maximal number of allowed steps.

Static Private Attributes

static double tPlot
static double dtOut
static fmatvec::Vec zInp
static std::ofstream integPlot
static double s0
static double time
static bool output_

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 ODEX.


Member Function Documentation

void MBSim::ODEXIntegrator::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: