MBSim

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

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

#include <time_stepping_integrator.h>

Inheritance diagram for MBSimIntegrator::TimeSteppingIntegrator:
MBSimIntegrator::Integrator MBSim::Solver

List of all members.

Public Member Functions

 TimeSteppingIntegrator ()
 constructor
virtual ~TimeSteppingIntegrator ()
 destructor
void preIntegrate (MBSim::DynamicSystemSolver &system)
void subIntegrate (MBSim::DynamicSystemSolver &system, double tStop)
void postIntegrate (MBSim::DynamicSystemSolver &system)
virtual void integrate (MBSim::DynamicSystemSolver &system)
 start the integration
virtual void initializeUsingXML (xercesc::DOMElement *element)
 initialize integrator
void setStepSize (double dt_)
void setDriftCompensation (bool dc)

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

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 MBSimIntegrator::TimeSteppingIntegrator::initializeUsingXML ( xercesc::DOMElement *  element) [virtual]

initialize integrator

Parameters:
XMLdescription

Reimplemented from MBSimIntegrator::Integrator.

start the integration

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

Implements MBSimIntegrator::Integrator.


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