Go to the documentation of this file.
16 #ifndef SURGSIM_MATH_ODESOLVEREULEREXPLICIT_H
17 #define SURGSIM_MATH_ODESOLVEREULEREXPLICIT_H
63 void solve(
double dt,
const OdeState& currentState,
OdeState* newState,
bool computeCompliance =
true)
override;
67 bool computeRHS =
true)
override;
74 #endif // SURGSIM_MATH_ODESOLVEREULEREXPLICIT_H
void solve(double dt, const OdeState ¤tState, OdeState *newState, bool computeCompliance=true) override
Solves the equation.
Definition: OdeSolverEulerExplicit.cpp:31
The state of an ode of 2nd order of the form with boundary conditions.
Definition: OdeState.h:38
Euler Explicit ode solver solves the following order ode .
Definition: OdeSolverEulerExplicit.h:56
Definition: CompoundShapeToGraphics.cpp:29
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
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: OdeSolverEulerExplicit.cpp:58
OdeSolverEulerExplicit(OdeEquation *equation)
Constructor.
Definition: OdeSolverEulerExplicit.cpp:25