20 #ifndef _HETS2_INTEGRATOR_H_
21 #define _HETS2_INTEGRATOR_H_
23 #include "integrator.h"
25 namespace MBSimIntegrator {
79 void setStepSize(
double dt_) {
dt = dt_; dtImpulsive =
dt*1e-1, dtInfo =
dt; }
96 double dt, dtImpulsive, dtInfo;
106 int integrationSteps, integrationStepsConstraint, integrationStepsImpact, maxIter, sumIter;
int integrationSteps
iteration counter for constraints, integration, non-impulsive integration, impulsive integration...
Definition: hets2_integrator.h:106
std::ofstream integPlot
file stream for integration information
Definition: hets2_integrator.h:116
solver interface for modelling and simulation of dynamic systems
Definition: dynamic_system_solver.h:48
virtual void integrate(MBSim::DynamicSystemSolver &system)
start the integration
Definition: hets2_integrator.cc:245
void postIntegrate(MBSim::DynamicSystemSolver &system)
closes the integration
Definition: hets2_integrator.cc:220
double s0
computing time counter
Definition: hets2_integrator.h:111
double tPlot
time and plot time
Definition: hets2_integrator.h:101
void preIntegrate(MBSim::DynamicSystemSolver &system)
initializes the integration
Definition: hets2_integrator.cc:56
void subIntegrate(MBSim::DynamicSystemSolver &system, double tStop)
does the integration
Definition: hets2_integrator.cc:82
time integration scheme on velocity level for nonsmooth dynamical systems using half-explicit trapezo...
Definition: hets2_integrator.h:43
HETS2Integrator()
constructor
Definition: hets2_integrator.cc:43
bool evaluateStage(MBSim::DynamicSystemSolver &system)
evaluates the dynamical system given the state of the stage until the Jacobian matrices ...
Definition: hets2_integrator.cc:260
virtual void initializeUsingXML(xercesc::DOMElement *element)
initialize integrator
Definition: hets2_integrator.cc:253
double dt
step size for non-impulsive periods, and impulsive periods, and last used
Definition: hets2_integrator.h:96
integrator-interface for dynamic systems
Definition: integrator.h:40
virtual ~HETS2Integrator()
destructor
Definition: hets2_integrator.h:53
static DynamicSystemSolver * system
dynamic system
Definition: solver.h:65