MBSim

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

brief theta-time-stepping integrator with step size adjustment More...

#include <theta_time_stepping_ssc_integrator.h>

Inheritance diagram for MBSim::ThetaTimeSteppingSSCIntegrator:
MBSim::Integrator

List of all members.

Public Member Functions

 ThetaTimeSteppingSSCIntegrator ()
 constructor
virtual ~ThetaTimeSteppingSSCIntegrator ()
 destructor
void integrate (DynamicSystemSolver &system)
 start the integration
virtual void initializeUsingXML (TiXmlElement *element)
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

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 with step size adjustment

Author:
Jan Clauberg

Member Function Documentation

start the integration

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

Implements MBSim::Integrator.

postintegration steps

Parameters:
dynamicsystem

Reimplemented from MBSim::Integrator.

preintegration steps

Parameters:
dynamicsystem

Reimplemented from MBSim::Integrator.

void MBSim::ThetaTimeSteppingSSCIntegrator::subIntegrate ( DynamicSystemSolver &  system,
double  tStop 
) [virtual]

integration steps

Parameters:
dynamicsystem
endtime of integration

Reimplemented from MBSim::Integrator.

void MBSim::ThetaTimeSteppingSSCIntegrator::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: