MBSim

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

brief quasi static time-stepping integrator More...

#include <quasi_static_integrator.h>

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

List of all members.

Public Member Functions

 QuasiStaticIntegrator ()
 constructor
virtual ~QuasiStaticIntegrator ()
 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 setgTolerance (double tolerance_)
void sethTolerance (double tolerance_)
void setmaxExtraPolate (int value)
void setextraPolateAfter (int value)
void setupdateJacobianEvery (int value)

Private Attributes

double dt
 step size
double t
 time and plot time
double tPlot
double gTol
 tolerance for the newton iteration for distances
double hTol
 tolerance for newton iteration for forces
int iter
 iteration counter for constraints, plots, integration, maximum constraints, cummulation constraint
int step
int integrationSteps
int maxIter
int sumIter
int maxExtraPolate
 value of how many points in the past should be used to extrapolate for new value
int extraPolateAfter
 extrapolate after such and that integration steps
int updateJacobianEvery
 value of how often the Jacobian should be updated every step
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

Detailed Description

brief quasi static time-stepping integrator

Author:
Zhan Wang
Date:
2014-11-11 initial commit (Zhan Wang)

Member Function Documentation

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