MBSim

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

DAE-Integrator RADAU5. More...

#include <radau5_integrator.h>

Inheritance diagram for MBSim::RADAU5Integrator:
MBSim::Integrator

List of all members.

Public Member Functions

void setAbsoluteTolerance (const fmatvec::Vec &aTol_)
void setAbsoluteTolerance (double aTol_)
void setRelativeTolerance (const fmatvec::Vec &rTol_)
void setRelativeTolerance (double rTol_)
void setInitialStepSize (double dt0_)
void setMaximalStepSize (double dtMax_)
void setMaxStepNumber (int maxSteps_)
void integrate (DynamicSystemSolver &system)
 start the integration
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 ()
virtual void preIntegrate (DynamicSystemSolver &system)
virtual void subIntegrate (DynamicSystemSolver &system, double tStop)
virtual void postIntegrate (DynamicSystemSolver &system)

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, double *cont, int *lrc, int *n, 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
 maximum number of steps
double dtMax
 maximal step size

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

DAE-Integrator RADAU5.


Member Function Documentation

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

initialize integrator

Parameters:
XMLdescription

Reimplemented from MBSim::Integrator.

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