#include <theta_time_stepping_ssc_integrator.h>
Public Member Functions | |
| ThetaTimeSteppingSSCIntegrator () | |
| constructor | |
| virtual | ~ThetaTimeSteppingSSCIntegrator () |
| destructor | |
| void | integrate (DynamicSystemSolver &system) |
| virtual void | initializeUsingXML (xercesc::DOMElement *element) |
| initialize integrator More... | |
| void | setStepSize (double dt_) |
| void | setTheta (double theta_) |
| void | setDriftCompensation (bool dc) |
| void | update (DynamicSystemSolver &system, const fmatvec::Vec &z, double t) |
| update of dynamic system necessary values concerning theta time stepping integrator More... | |
| void | preIntegrate (DynamicSystemSolver &system) |
| preintegration steps More... | |
| void | subIntegrate (DynamicSystemSolver &system, double tStop) |
| integration steps More... | |
| void | postIntegrate (DynamicSystemSolver &system) |
| postintegration steps 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::Vec & | getInitialState () 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 std::string | getType () const |
Public Member Functions inherited from MBSim::Solver | |
| Solver () | |
| constructor | |
| virtual | ~Solver () |
| destructor | |
Public Member Functions inherited from fmatvec::Atom | |
| Atom & | operator= (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) |
Private Attributes | |
| double | dt |
| step size | |
| double | theta |
| convex combination parameter between explicit (0) and implicit (1) Euler scheme | |
| double | t |
| time and plot time | |
| double | tPlot |
| int | iter |
| iteration counter for constraints, plots, integration, maximum constraints, cummulation constraint | |
| int | step |
| int | integrationSteps |
| int | maxIter |
| int | sumIter |
| double | s0 |
| computing time counter | |
| double | time |
| int | stepPlot |
| plot step difference | |
| fmatvec::Vec | z |
| state, position, velocity, order coordinate of dynamical system | |
| fmatvec::Vec | q |
| fmatvec::Vec | u |
| fmatvec::Vec | x |
| std::ofstream | integPlot |
| file stream for integration information | |
| bool | driftCompensation |
| flag for drift compensation | |
Additional Inherited Members | |
Public Types inherited from fmatvec::Atom | |
| enum | MsgType |
Static Public Member Functions inherited from MBSimIntegrator::Integrator | |
| static Integrator * | readXMLFile (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 DynamicSystemSolver * | system = 0 |
| dynamic system | |
brief theta-time-stepping integrator with step size adjustment
|
virtual |
| void MBSimIntegrator::ThetaTimeSteppingSSCIntegrator::postIntegrate | ( | DynamicSystemSolver & | system | ) |
postintegration steps
| dynamic | system |
| void MBSimIntegrator::ThetaTimeSteppingSSCIntegrator::preIntegrate | ( | DynamicSystemSolver & | system | ) |
preintegration steps
| dynamic | system |
| void MBSimIntegrator::ThetaTimeSteppingSSCIntegrator::subIntegrate | ( | DynamicSystemSolver & | system, |
| double | tStop | ||
| ) |
integration steps
| dynamic | system |
| end | time of integration |
| void MBSimIntegrator::ThetaTimeSteppingSSCIntegrator::update | ( | DynamicSystemSolver & | system, |
| const fmatvec::Vec & | z, | ||
| double | t | ||
| ) |
update of dynamic system necessary values concerning theta time stepping integrator
| dynamic | system |
| state | vector |
| time |