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.};
double s0
computing time counter
Definition: time_stepping_integrator.h:75
void initializeUsingXML(xercesc::DOMElement *element) override
initialize integrator
Definition: time_stepping_integrator.cc:131
void integrate() override
start the integration of the system set by setSystem. Each class implemeting this function should cal...
Definition: time_stepping_integrator.cc:125
double tPlot
time and plot time
Definition: time_stepping_integrator.h:65
int stepPlot
plot step difference
Definition: time_stepping_integrator.h:80
integrator-interface for dynamic systems
Definition: integrator.h:37
~TimeSteppingIntegrator() override=default
destructor
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
int step
iteration counter for constraints, plots, integration, maximum constraints, cummulation constraint ...
Definition: time_stepping_integrator.h:70
double gMax
Definition: time_stepping_integrator.h:83
double dt
step size
Definition: time_stepping_integrator.h:60