20#ifndef _THETA_TIME_STEPPING_INTEGRATOR_H_
21#define _THETA_TIME_STEPPING_INTEGRATOR_H_
23#include "integrator.h"
43 void preIntegrate()
override;
44 void subIntegrate(
double tStop)
override;
45 void postIntegrate()
override;
54 void setStepSize(
double dt_) {
dt = dt_; }
55 void setTheta(
double theta_ ) {
theta = theta_; }
56 void setToleranceForPositionConstraints(
double gMax_) {
gMax = gMax_; }
75 double t{0}, tPlot{0};
80 int iter{0}, step{0}, integrationSteps{0}, maxIter{0}, sumIter{0};
85 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: theta_time_stepping_integrator.h:36
void initializeUsingXML(xercesc::DOMElement *element) override
initialize integrator
Definition: theta_time_stepping_integrator.cc:162
double s0
computing time counter
Definition: theta_time_stepping_integrator.h:85
double dt
step size
Definition: theta_time_stepping_integrator.h:65
void integrate() override
start the integration of the system set by setSystem. Each class implemeting this function should cal...
Definition: theta_time_stepping_integrator.cc:156
~ThetaTimeSteppingIntegrator() override=default
destructor
int stepPlot
plot step difference
Definition: theta_time_stepping_integrator.h:90
double theta
convex combination parameter between explicit (0) and implicit (1) Euler scheme
Definition: theta_time_stepping_integrator.h:70
double gMax
Definition: theta_time_stepping_integrator.h:93
double t
time and plot time
Definition: theta_time_stepping_integrator.h:75
int iter
iteration counter for constraints, plots, integration, maximum constraints, cummulation constraint
Definition: theta_time_stepping_integrator.h:80
namespace MBSim
Definition: bilateral_constraint.cc:30