MBSim

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

brief half-explicit time-stepping integrator of first order More...

#include <time_stepping_integrator.h>

Inheritance diagram for MBSim::TimeSteppingIntegrator:
MBSim::Integrator

List of all members.

Public Member Functions

 TimeSteppingIntegrator ()
 constructor
virtual ~TimeSteppingIntegrator ()
 destructor
void preIntegrate (DynamicSystemSolver &system)
void subIntegrate (DynamicSystemSolver &system, double tStop)
void postIntegrate (DynamicSystemSolver &system)
virtual void integrate (DynamicSystemSolver &system)
 start the integration
virtual void initializeUsingXML (TiXmlElement *element)
 initialize integrator
void setStepSize (double dt_)
void setDriftCompensation (bool dc)
- 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 ()

Private Attributes

double dt
 step size
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

- 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

brief half-explicit time-stepping integrator of first order

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

Member Function Documentation

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

initialize integrator

Parameters:
XMLdescription

Reimplemented from MBSim::Integrator.

virtual void MBSim::TimeSteppingIntegrator::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: