|
iMSTK
Interactive Medical Simulation Toolkit
|
Base class for a multi-variable nonlinear system. More...
#include <imstkNonLinearSystem.h>
Public Member Functions | |
| NonLinearSystem (const VectorFunctionType &F, const MatrixFunctionType &dF) | |
| NonLinearSystem (const VectorFunctionType &F, const MatrixFunctionType &dF, const VectorMatrixFunctionType &F_dF) | |
| virtual void | setFunction (const VectorFunctionType &function) |
| Set nonlinear method that evaluates the nonlinear function. | |
| virtual void | setJacobian (const MatrixFunctionType &function) |
| Set the method that evaluates the gradient of the nonlinear function. | |
| virtual const Vectord & | evaluateF (const Vectord &x, const bool isSemiImplicit) |
| Evaluate function at a given state. | |
| virtual const Matrix & | evaluateJacobian (const Vectord &x) |
| Evaluate gradient of the function at a given state. | |
| void | setUnknownVector (Vectord &v) |
| Vectord & | getUnknownVector () |
| Get the vector used to populate the solution. | |
| void | setUpdateFunction (const UpdateFunctionType &updateFunc) |
| Get the vector denoting the filter. More... | |
| void | setUpdatePreviousStatesFunction (const UpdatePrevStateFunctionType &updateFunc) |
| Set the update function. | |
Public Attributes | |
| VectorFunctionType | m_F |
| Get the vector denoting the filter. More... | |
| MatrixFunctionType | m_dF |
| Gradient of the Nonlinear function with respect to the unknown vector. | |
| VectorMatrixFunctionType | m_F_dF |
| Vectord * | m_unknown = nullptr |
| UpdateFunctionType | m_FUpdate |
| UpdatePrevStateFunctionType | m_FUpdatePrevState |
Base class for a multi-variable nonlinear system.
Definition at line 20 of file imstkNonLinearSystem.h.
|
inline |
Get the vector denoting the filter.
Set the update function
Definition at line 90 of file imstkNonLinearSystem.h.
| VectorFunctionType imstk::NonLinearSystem< Matrix >::m_F |
Get the vector denoting the filter.
Nonlinear function
Definition at line 117 of file imstkNonLinearSystem.h.
1.8.13