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 Definition: CompoundShapeToGraphics.cpp:29
OdeSolverLinearEulerImplicit(OdeEquation *equation)
Constructor.
Definition: OdeSolverLinearEulerImplicit.cpp:26
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
Ode equation of 2nd order of the form with for initial conditions and a set of boundary conditions...
Definition: OdeEquation.h:54
The state of an ode of 2nd order of the form with boundary conditions.
Definition: OdeState.h:38
Definitions of useful sparse matrix functions.
Eigen::SparseMatrix< double > SparseMatrix
A sparse matrix.
Definition: SparseMatrix.h:32
void setNewtonRaphsonMaximumIteration(size_t maximumIteration) override
Definition: OdeSolverLinearEulerImplicit.cpp:35
Linear Version of the Euler Implicit ode solver This solver assumes that the system is linear...
Definition: OdeSolverLinearEulerImplicit.h:34
Euler implicit (a.k.a backward Euler) ode solver (see OdeSolverEulerImplicit.dox for more details)...
Definition: OdeSolverEulerImplicit.h:28
SparseMatrix m_constantK
The constant stiffness matrix.
Definition: OdeSolverLinearEulerImplicit.h:49
bool m_initialized
Has the solver been initialized.
Definition: OdeSolverLinearEulerImplicit.h:52