Go to the documentation of this file.
16 #ifndef SURGSIM_MATH_ODESOLVERLINEAREULERIMPLICIT_H
17 #define SURGSIM_MATH_ODESOLVERLINEAREULERIMPLICIT_H
45 void solve(
double dt,
const OdeState& currentState,
OdeState* newState,
bool computeCompliance =
true)
override;
59 #endif // SURGSIM_MATH_ODESOLVERLINEAREULERIMPLICIT_H
Linear Version of the Euler Implicit ode solver This solver assumes that the system is linear,...
Definition: OdeSolverLinearEulerImplicit.h:34
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
The parameter computeCompliance is irrelevant for any Linear solver as it is a constant matrix.
Definition: OdeSolverLinearEulerImplicit.cpp:43
Definition: CompoundShapeToGraphics.cpp:29
bool m_initialized
Has the solver been initialized.
Definition: OdeSolverLinearEulerImplicit.h:52
SparseMatrix m_constantK
The constant stiffness matrix.
Definition: OdeSolverLinearEulerImplicit.h:49
Eigen::SparseMatrix< double > SparseMatrix
A sparse matrix.
Definition: SparseMatrix.h:32
Ode equation of 2nd order of the form with for initial conditions and a set of boundary conditions.
Definition: OdeEquation.h:54
OdeSolverLinearEulerImplicit(OdeEquation *equation)
Constructor.
Definition: OdeSolverLinearEulerImplicit.cpp:26
Euler implicit (a.k.a backward Euler) ode solver (see OdeSolverEulerImplicit.dox for more details).
Definition: OdeSolverEulerImplicit.h:28
void setNewtonRaphsonMaximumIteration(size_t maximumIteration) override
Definition: OdeSolverLinearEulerImplicit.cpp:35