MBSim

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

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

#include <theta_time_stepping_integrator.h>

Inheritance diagram for MBSim::ThetaTimeSteppingIntegrator:
MBSim::Integrator

List of all members.

Public Member Functions

 ThetaTimeSteppingIntegrator ()
 constructor
virtual ~ThetaTimeSteppingIntegrator ()
 destructor
void integrate (DynamicSystemSolver &system)
 start the integration
virtual void initializeUsingXML (TiXmlElement *element)
 initialize integrator
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
void preIntegrate (DynamicSystemSolver &system)
 preintegration steps
void subIntegrate (DynamicSystemSolver &system, double tStop)
 integration steps
void postIntegrate (DynamicSystemSolver &system)
 postintegration steps
- 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 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

- 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 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 MBSim::ThetaTimeSteppingIntegrator::initializeUsingXML ( TiXmlElement *  element)
virtual

initialize integrator

Parameters:
XMLdescription

Reimplemented from MBSim::Integrator.

void MBSim::ThetaTimeSteppingIntegrator::integrate ( DynamicSystemSolver &  system)
virtual

start the integration

Parameters:
dynamicsystem to be integrated

Implements MBSim::Integrator.

void MBSim::ThetaTimeSteppingIntegrator::postIntegrate ( DynamicSystemSolver &  system)
virtual

postintegration steps

Parameters:
dynamicsystem

Reimplemented from MBSim::Integrator.

void MBSim::ThetaTimeSteppingIntegrator::preIntegrate ( DynamicSystemSolver &  system)
virtual

preintegration steps

Parameters:
dynamicsystem

Reimplemented from MBSim::Integrator.

void MBSim::ThetaTimeSteppingIntegrator::subIntegrate ( DynamicSystemSolver &  system,
double  tStop 
)
virtual

integration steps

Parameters:
dynamicsystem
endtime of integration

Reimplemented from MBSim::Integrator.

void MBSim::ThetaTimeSteppingIntegrator::update ( 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: