All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
MBSimIntegrator::Integrator Class Referenceabstract

integrator-interface for dynamic systems More...

#include <integrator.h>

Inheritance diagram for MBSimIntegrator::Integrator:
MBSim::Solver fmatvec::Atom MBSimIntegrator::AutoTimeSteppingSSCIntegrator MBSimIntegrator::DOP853Integrator MBSimIntegrator::DOPRI5Integrator MBSimIntegrator::EulerExplicitIntegrator MBSimIntegrator::HETS2Integrator MBSimIntegrator::LSODARIntegrator MBSimIntegrator::LSODEIntegrator MBSimIntegrator::LSODERIntegrator MBSimIntegrator::ODEXIntegrator MBSimIntegrator::QuasiStaticIntegrator MBSimIntegrator::RADAU5Integrator MBSimIntegrator::RKSuiteIntegrator MBSimIntegrator::ThetaTimeSteppingIntegrator MBSimIntegrator::ThetaTimeSteppingSSCIntegrator MBSimIntegrator::TimeSteppingIntegrator MBSimIntegrator::TimeSteppingSSCIntegrator

Public Member Functions

 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...
 
virtual void integrate (MBSim::DynamicSystemSolver &system)=0
 start the integration 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 Public Member Functions

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 Attributes

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
 

Additional Inherited Members

- Public Types inherited from fmatvec::Atom
enum  MsgType
 
- Protected Member Functions inherited from fmatvec::Atom
 Atom (const Atom &src)
 
- Static Protected Attributes inherited from MBSim::Solver
static DynamicSystemSolversystem = 0
 dynamic system
 

Detailed Description

integrator-interface for dynamic systems

Author
Martin Foerg
Date
2009-07-13 some comments (Thorsten Schindler)

Member Function Documentation

void MBSimIntegrator::Integrator::debugInit ( )

Each class implemeting the Integrator::integrate function should call this function first. This function does currently only some minor modification of the integrator data (like end time) dependent on environment variables. This is used mainly for debugging purposes like automatic valgrind runs with a very small tEnd time.

void MBSimIntegrator::Integrator::execute ( MBSim::DynamicSystemSolver system)
inlinevirtual

start solving the dynamic system

Parameters
dynamicsystem to be solved

Implements MBSim::Solver.

virtual std::string MBSimIntegrator::Integrator::getType ( ) const
inlinevirtual
void MBSimIntegrator::Integrator::initializeUsingXML ( xercesc::DOMElement *  element)
virtual
virtual void MBSimIntegrator::Integrator::integrate ( MBSim::DynamicSystemSolver system)
pure virtual

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

Impressum / Disclaimer / Datenschutz Generated by doxygen 1.8.5 Valid HTML