MBSim |
Project Page |
integrator-interface for dynamic systems More...
#include <integrator.h>
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 () |
| virtual void | integrate (DynamicSystemSolver &system)=0 |
| start the integration | |
| virtual void | preIntegrate (DynamicSystemSolver &system) |
| virtual void | subIntegrate (DynamicSystemSolver &system, double tStop) |
| virtual void | postIntegrate (DynamicSystemSolver &system) |
| virtual void | initializeUsingXML (TiXmlElement *element) |
| initialize integrator | |
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 | |
Static Protected Attributes | |
| static DynamicSystemSolver * | system |
| integrated dynamic system | |
integrator-interface for dynamic systems
|
virtual |
initialize integrator
| XML | description |
Reimplemented in MBSim::TimeSteppingSSCIntegrator, MBSim::LSODARIntegrator, MBSim::DOPRI5Integrator, MBSim::RADAU5Integrator, MBSim::LSODEIntegrator, MBSim::RKSuiteIntegrator, MBSim::TimeSteppingD1MinusLinearIntegrator, MBSim::ThetaTimeSteppingIntegrator, MBSim::TimeSteppingIntegrator, MBSim::EulerExplicitIntegrator, and MBSim::ThetaTimeSteppingSSCIntegrator.
|
pure virtual |
start the integration
| dynamic | system to be integrated |
Implemented in MBSim::TimeSteppingSSCIntegrator, MBSim::DOPRI5Integrator, MBSim::RADAU5Integrator, MBSim::LSODARIntegrator, MBSim::LSODEIntegrator, MBSim::ODEXIntegrator, MBSim::DOP853Integrator, MBSim::LSODERIntegrator, MBSim::RKSuiteIntegrator, MBSim::TimeSteppingD1MinusLinearIntegrator, MBSim::ThetaTimeSteppingIntegrator, MBSim::TimeSteppingIntegrator, MBSim::EulerExplicitIntegrator, and MBSim::ThetaTimeSteppingSSCIntegrator.
1.8.1.1