20#ifndef _HETS2_INTEGRATOR_H_
21#define _HETS2_INTEGRATOR_H_
23#include "integrator.h"
71 void initializeUsingXML(xercesc::DOMElement *element)
override;
75 void setStepSize(
double dt_) {
dt = dt_; dtImpulsive =
dt*1e-1, dtInfo =
dt; }
92 double dt{1e-3}, dtImpulsive{1e-4}, dtInfo{1e-3};
102 int integrationSteps{0}, integrationStepsConstraint{0}, integrationStepsImpact{0}, maxIter{0}, sumIter{0};
107 double s0{0.}, time{0.};
time integration scheme on velocity level for nonsmooth dynamical systems using half-explicit trapezo...
Definition: hets2_integrator.h:43
int integrationSteps
iteration counter for constraints, integration, non-impulsive integration, impulsive integration,...
Definition: hets2_integrator.h:102
void integrate() override
start the integration of the system set by setSystem. Each class implemeting this function should cal...
Definition: hets2_integrator.cc:186
bool evaluateStage()
evaluates the dynamical system given the state of the stage until the Jacobian matrices
Definition: hets2_integrator.cc:200
void preIntegrate() override
initializes the integration
Definition: hets2_integrator.cc:38
double dt
step size for non-impulsive periods, and impulsive periods, and last used
Definition: hets2_integrator.h:92
double s0
computing time counter
Definition: hets2_integrator.h:107
double tPlot
time and plot time
Definition: hets2_integrator.h:97
void subIntegrate(double tStop) override
does the integration
Definition: hets2_integrator.cc:71
void postIntegrate() override
closes the integration
Definition: hets2_integrator.cc:173
~HETS2Integrator() override=default
destructor
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...
namespace MBSim
Definition: bilateral_constraint.cc:30