20#ifndef _TIME_STEPPING_INTEGRATOR_H_
21#define _TIME_STEPPING_INTEGRATOR_H_
23#include "integrator.h"
39 void preIntegrate()
override;
40 void subIntegrate(
double tStop)
override;
41 void postIntegrate()
override;
50 void setStepSize(
double dt_) {
dt = dt_; }
51 void setToleranceForPositionConstraints(
double gMax_) {
gMax = gMax_; }
70 int step{0}, integrationSteps{0}, maxIter{0}, sumIter{0};
75 double s0{0.}, time{0.};
integrator-interface for dynamic systems
Definition: integrator.h:37
virtual void integrate()=0
start the integration of the system set by setSystem. Each class implemeting this function should cal...
Definition: time_stepping_integrator.h:32
void integrate() override
start the integration of the system set by setSystem. Each class implemeting this function should cal...
Definition: time_stepping_integrator.cc:128
double dt
step size
Definition: time_stepping_integrator.h:60
void initializeUsingXML(xercesc::DOMElement *element) override
initialize integrator
Definition: time_stepping_integrator.cc:134
double tPlot
time and plot time
Definition: time_stepping_integrator.h:65
double s0
computing time counter
Definition: time_stepping_integrator.h:75
double gMax
Definition: time_stepping_integrator.h:83
int step
iteration counter for constraints, plots, integration, maximum constraints, cummulation constraint
Definition: time_stepping_integrator.h:70
~TimeSteppingIntegrator() override=default
destructor
int stepPlot
plot step difference
Definition: time_stepping_integrator.h:80
namespace MBSim
Definition: bilateral_constraint.cc:30