23#include <fmatvec/fmatvec.h>
24#include <fmatvec/atom.h>
25#include <mbsim/namespace.h>
26#include <mbsim/mbsim_event.h>
27#include <mbsim/solver.h>
50 void setStartTime(
double tStart_) {
tStart=tStart_; }
51 void setEndTime(
double tEnd_) { tEnd = tEnd_; }
52 void setPlotStepSize(
double dtPlot_) { dtPlot = dtPlot_; }
53 double getStartTime()
const {
return tStart; }
54 double getEndTime()
const {
return tEnd; }
55 double getPlotStepSize()
const {
return dtPlot; }
77 virtual void preIntegrate() { throwError(
"preIntegrate is not defined"); }
78 virtual void subIntegrate(
double tStop) { throwError(
"subIntegrate is not defined"); }
79 virtual void postIntegrate() { throwError(
"postIntegrate is not defined"); }
solver interface for modelling and simulation of dynamic systems
Definition: dynamic_system_solver.h:61
integrator-interface for dynamic systems
Definition: integrator.h:37
void integrate(MBSim::DynamicSystemSolver &sys)
Convinent function: call setSystem(&sys) and integrate()
Definition: integrator.h:68
void initializeUsingXML(xercesc::DOMElement *element) override
initialize integrator
Definition: integrator.cc:32
std::string name
name of integrator
Definition: integrator.h:98
virtual void integrate()=0
start the integration of the system set by setSystem. Each class implemeting this function should cal...
~Integrator() override=default
destructor
Integrator()
constructor
Definition: integrator.h:42
double tStart
start, end, plot time
Definition: integrator.h:91
void execute() override
start solving the dynamic system set by setSystem.
Definition: integrator.h:58
void debugInit()
Definition: integrator.cc:47
solver-interface for dynamic systems
Definition: solver.h:38
namespace MBSim
Definition: bilateral_constraint.cc:30