23#include <fmatvec/fmatvec.h>
24#include <fmatvec/atom.h>
25#include <mbsim/namespace.h>
26#include <mbsim/mbsim_event.h>
32 class DynamicSystemSolver;
38 class Solver :
virtual public fmatvec::Atom {
53 void throwError(
const std::string &msg)
const {
68 virtual void initializeUsingXML(xercesc::DOMElement *element) {
73 void setInitialState(
const fmatvec::Vec &z0_) {
z0 <<= z0_; }
74 const fmatvec::Vec& getInitialState()
const {
return z0; }
76 void setSystem(DynamicSystemSolver *s) {
system=s; }
solver interface for modelling and simulation of dynamic systems
Definition: dynamic_system_solver.h:61
basic error class for mbsim
Definition: mbsim_event.h:39
solver-interface for dynamic systems
Definition: solver.h:38
virtual void execute()=0
start solving the dynamic system set by setSystem.
fmatvec::Vec z0
initial state
Definition: solver.h:87
MBXMLUtils::DOMEvalException domEvalError
Special XML helper variable.
Definition: solver.h:96
MBSim::DynamicSystemSolver * system
dynamic system
Definition: solver.h:92
virtual void postprocessing()
Definition: solver.cc:25
Solver()
constructor
Definition: solver.h:43
~Solver() override=default
destructor
namespace MBSim
Definition: bilateral_constraint.cc:30