MBSim

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

brief theta-time-stepping integrator of first order More...

#include <theta_time_stepping_integrator.h>

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

List of all members.

Public Member Functions

 ThetaTimeSteppingIntegrator ()
 constructor
virtual ~ThetaTimeSteppingIntegrator ()
 destructor
void integrate (MBSim::DynamicSystemSolver &system)
 start the integration
virtual void initializeUsingXML (xercesc::DOMElement *element)
 initialize integrator
void setStepSize (double dt_)
void setTheta (double theta_)
void setDriftCompensation (bool dc)
void update (MBSim::DynamicSystemSolver &system, const fmatvec::Vec &z, double t)
 update of dynamic system necessary values concerning theta time stepping integrator
void preIntegrate (MBSim::DynamicSystemSolver &system)
 preintegration steps
void subIntegrate (MBSim::DynamicSystemSolver &system, double tStop)
 integration steps
void postIntegrate (MBSim::DynamicSystemSolver &system)
 postintegration steps

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

Detailed Description

brief theta-time-stepping integrator of first order

Author:
Roland Zander
Thorsten Schindler
Date:
2009-07-18 new kernel_dev (Thorsten Schindler)
2009-07-19 Delassus matrix / split of update (Thorsten Schindler)
2009-07-27 some fixes (Thorsten Schindler)
2010-04-23 integrate splitted (Thorsten Schindler)

Member Function Documentation

virtual void MBSimIntegrator::ThetaTimeSteppingIntegrator::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.

postintegration steps

Parameters:
dynamicsystem

Reimplemented from MBSimIntegrator::Integrator.

preintegration steps

Parameters:
dynamicsystem

Reimplemented from MBSimIntegrator::Integrator.

integration steps

Parameters:
dynamicsystem
endtime of integration

Reimplemented from MBSimIntegrator::Integrator.

void MBSimIntegrator::ThetaTimeSteppingIntegrator::update ( MBSim::DynamicSystemSolver &  system,
const fmatvec::Vec &  z,
double  t 
)

update of dynamic system necessary values concerning theta time stepping integrator

Parameters:
dynamicsystem
statevector
time

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