Go to the documentation of this file.
16 #ifndef SURGSIM_MATH_ODESOLVERSTATIC_H
17 #define SURGSIM_MATH_ODESOLVERSTATIC_H
42 void solve(
double dt,
const OdeState& currentState,
OdeState* newState,
bool computeCompliance =
true)
override;
46 bool computeRHS =
true)
override;
53 #endif // SURGSIM_MATH_ODESOLVERSTATIC_H
The state of an ode of 2nd order of the form with boundary conditions.
Definition: OdeState.h:38
void solve(double dt, const OdeState ¤tState, OdeState *newState, bool computeCompliance=true) override
Solves the equation.
Definition: OdeSolverStatic.cpp:31
Static ode solver solves the following order ode .
Definition: OdeSolverStatic.h:35
Definition: CompoundShapeToGraphics.cpp:29
OdeSolverStatic(OdeEquation *equation)
Constructor.
Definition: OdeSolverStatic.cpp:25
void assembleLinearSystem(double dt, const OdeState &state, const OdeState &newState, bool computeRHS=true) override
Assemble the linear system (A.x=b) to be solved for the state and new states (useful for certain ode ...
Definition: OdeSolverStatic.cpp:58
Ode equation of 2nd order of the form with for initial conditions and a set of boundary conditions.
Definition: OdeEquation.h:54
Base class for all solvers of ode equation of order 2 of the form .
Definition: OdeSolver.h:78