MBSim

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

time integration scheme on velocity level for nonsmooth dynamical systems using half-explicit trapezoidal rule More...

#include <hets2_integrator.h>

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

List of all members.

Public Member Functions

 HETS2Integrator ()
 constructor
virtual ~HETS2Integrator ()
 destructor
void preIntegrate (MBSim::DynamicSystemSolver &system)
 initializes the integration
void subIntegrate (MBSim::DynamicSystemSolver &system, double tStop)
 does the integration
void postIntegrate (MBSim::DynamicSystemSolver &system)
 closes the integration
virtual void integrate (MBSim::DynamicSystemSolver &system)
 start the integration
virtual void initializeUsingXML (xercesc::DOMElement *element)
 initialize integrator
void setStepSize (double dt_)

Private Member Functions

bool evaluateStage (MBSim::DynamicSystemSolver &system)
 evaluates the dynamical system given the state of the stage until the Jacobian matrices

Private Attributes

double dt
 step size for non-impulsive periods, and impulsive periods, and last used
double dtImpulsive
double dtInfo
double t
 time and plot time
double tPlot
int iter
 iteration counter for constraints, integration, non-impulsive integration, impulsive integration, maximum constraints, cummulation constraint
int integrationSteps
int integrationStepsConstraint
int integrationStepsImpact
int maxIter
int sumIter
double s0
 computing time counter
double time
fmatvec::Vec z
 state, position, velocity, first order coordinate of dynamical system
fmatvec::Vec q
fmatvec::Vec u
fmatvec::Vec x
std::ofstream integPlot
 file stream for integration information

Detailed Description

time integration scheme on velocity level for nonsmooth dynamical systems using half-explicit trapezoidal rule

Author:
Thorsten Schindler
Date:
2014-09-12 initial commit (Thorsten Schindler)
2014-09-17 notation of Brasey1994a (Thorsten Schindler)
2014-09-18 first final status with contact and impact with the slider-crank mechanism (Thorsten Schindler)
2014-09-22 naive step-size adaptation according experience with the error constants, not square root relationship (Thorsten Schindler)

time discontinuous Galerkin method on velocity level using half-explicit trapezoidal rule

T. Schindler, S. Rezaei, J. Kursawe, V. Acary : Half-explicit timestepping schemes on velocity level based on time-discontinuous Galerkin methods

T. Schindler, V. Acary : Timestepping Schemes for Nonsmooth Dynamics Based on Discontinuous Galerkin Methods: Definition and Outlook


Member Function Documentation

evaluates the dynamical system given the state of the stage until the Jacobian matrices

Parameters:
dynamicalsystem to be integrated return flag for occuring impact
virtual void MBSimIntegrator::HETS2Integrator::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.

closes the integration

Parameters:
dynamicalsystem to be integrated

Reimplemented from MBSimIntegrator::Integrator.

initializes the integration

Parameters:
dynamicalsystem to be integrated

Reimplemented from MBSimIntegrator::Integrator.

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

does the integration

Parameters:
dynamicalsystem to be integrated

Reimplemented from MBSimIntegrator::Integrator.


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