All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
MBSimIntegrator::ODEXIntegrator Class Reference

ODE-Integrator ODEX. More...

#include <odex_integrator.h>

Inheritance diagram for MBSimIntegrator::ODEXIntegrator:
MBSimIntegrator::Integrator MBSim::Solver fmatvec::Atom

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 (MBSim::DynamicSystemSolver &system)
 start the integration More...
 
- Public Member Functions inherited from MBSimIntegrator::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 () const
 
double getEndTime () const
 
double getPlotStepSize () const
 
const fmatvec::VecgetInitialState () const
 
int getWarnLevel () const
 
bool getOutput () const
 
void execute (MBSim::DynamicSystemSolver &system)
 start solving the dynamic system More...
 
void debugInit ()
 
virtual void preIntegrate (MBSim::DynamicSystemSolver &system)
 
virtual void subIntegrate (MBSim::DynamicSystemSolver &system, double tStop)
 
virtual void postIntegrate (MBSim::DynamicSystemSolver &system)
 
virtual void initializeUsingXML (xercesc::DOMElement *element)
 initialize integrator More...
 
virtual std::string getType () const
 
- Public Member Functions inherited from MBSim::Solver
 Solver ()
 constructor
 
virtual ~Solver ()
 destructor
 
- Public Member Functions inherited from fmatvec::Atom
Atomoperator= (const Atom &)
 
void setMessageStreamActive (MsgType type, bool active)
 
void getMessageStream (MsgType type, std::shared_ptr< bool > &a, std::shared_ptr< std::ostream > &s)
 
void adoptMessageStreams (const Atom *src=NULL)
 
std::ostream & msg (MsgType type)
 
bool msgAct (MsgType type)
 

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
 
fmatvec::Vec rTol
 
double dt0
 
int maxSteps
 

Static Private Attributes

static double tPlot = 0
 
static double dtOut = 0
 
static std::ofstream integPlot
 
static double s0
 
static double time = 0
 
static bool output_
 

Additional Inherited Members

- Public Types inherited from fmatvec::Atom
enum  MsgType
 
- Static Public Member Functions inherited from MBSimIntegrator::Integrator
static IntegratorreadXMLFile (const std::string &filename)
 
- Static Public Member Functions inherited from fmatvec::Atom
static void setCurrentMessageStream (MsgType type, const std::shared_ptr< bool > &a=std::make_shared< bool >(true), const std::shared_ptr< std::ostream > &s=std::make_shared< std::ostream >(std::cout.rdbuf()))
 
static std::ostream & msgStatic (MsgType type)
 
static bool msgActStatic (MsgType type)
 
- Protected Member Functions inherited from fmatvec::Atom
 Atom (const Atom &src)
 
- Protected Attributes inherited from MBSimIntegrator::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::Solver
static DynamicSystemSolversystem = 0
 dynamic system
 

Detailed Description

ODE-Integrator ODEX.

Member Function Documentation

void MBSimIntegrator::ODEXIntegrator::integrate ( MBSim::DynamicSystemSolver system)
virtual

start the integration

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

Implements MBSimIntegrator::Integrator.

Member Data Documentation

fmatvec::Vec MBSimIntegrator::ODEXIntegrator::aTol
private

Absolute Toleranz

double MBSimIntegrator::ODEXIntegrator::dt0
private

Step size for the first step

int MBSimIntegrator::ODEXIntegrator::maxSteps
private

Maximal number of allowed steps

fmatvec::Vec MBSimIntegrator::ODEXIntegrator::rTol
private

Relative Toleranz


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

Impressum / Disclaimer / Datenschutz Generated by doxygen 1.8.5 Valid HTML