Go to the documentation of this file.
16 #ifndef SURGSIM_MATH_ODESOLVEREULEREXPLICITMODIFIED_H
17 #define SURGSIM_MATH_ODESOLVEREULEREXPLICITMODIFIED_H
59 void solve(
double dt,
const OdeState& currentState,
OdeState* newState,
bool computeCompliance =
true)
override;
63 bool computeRHS =
true)
override;
70 #endif // SURGSIM_MATH_ODESOLVEREULEREXPLICITMODIFIED_H
The state of an ode of 2nd order of the form with boundary conditions.
Definition: OdeState.h:38
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
void solve(double dt, const OdeState ¤tState, OdeState *newState, bool computeCompliance=true) override
Solves the equation.
Definition: OdeSolverEulerExplicitModified.cpp:31
Base class for all solvers of ode equation of order 2 of the form .
Definition: OdeSolver.h:78
OdeSolverEulerExplicitModified(OdeEquation *equation)
Constructor.
Definition: OdeSolverEulerExplicitModified.cpp:25
Modified Euler Explicit ode solver solves the following order ode .
Definition: OdeSolverEulerExplicitModified.h:52
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: OdeSolverEulerExplicitModified.cpp:59