template<class TMatrix, class TVector>
class sofa::component::linearsolver::direct::PrecomputedLinearSolver< TMatrix, TVector >
Linear system solver based on a precomputed inverse matrix.
|
| SOFA_CLASS (SOFA_TEMPLATE2(PrecomputedLinearSolver, TMatrix, TVector), SOFA_TEMPLATE2(sofa::component::linearsolver::MatrixLinearSolver, TMatrix, TVector)) |
|
| PrecomputedLinearSolver () |
|
void | solve (TMatrix &M, TVector &x, TVector &b) override |
|
void | invert (TMatrix &M) override |
|
void | setSystemMBKMatrix (const core::MechanicalParams *mparams) override |
|
void | loadMatrix (TMatrix &M) |
|
void | loadMatrixWithCholeskyDecomposition (TMatrix &M) |
|
bool | addJMInvJt (linearalgebra::BaseMatrix *result, linearalgebra::BaseMatrix *J, SReal fact) override |
|
TBaseMatrix * | getSystemMatrixInv () |
|
void | parse (core::objectmodel::BaseObjectDescription *arg) override |
|
void | resetSystem () |
|
SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API void | resetSystem () |
|
void | resizeSystem (Size n) |
|
SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API void | resizeSystem (Size) |
|
void | setSystemMBKMatrix (const core::MechanicalParams *mparams) |
|
SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API void | setSystemMBKMatrix (const core::MechanicalParams *mparams) |
|
void | rebuildSystem (SReal, SReal) |
|
SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API void | rebuildSystem (SReal massFactor, SReal forceFactor) |
|
void | setSystemLHVector (core::MultiVecDerivId v) |
|
SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API void | setSystemLHVector (core::MultiVecDerivId v) |
|
void | applySystemSolution () |
|
SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API void | applySystemSolution () |
|
void | applyConstraintForce (const sofa::core::ConstraintParams *, sofa::core::MultiVecDerivId, const linearalgebra::BaseVector *) |
|
SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API void | applyConstraintForce (const sofa::core::ConstraintParams *, sofa::core::MultiVecDerivId, const linearalgebra::BaseVector *) |
|
void | computeResidual (const core::ExecParams *, linearalgebra::BaseVector *) |
|
SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API void | computeResidual (const core::ExecParams *params, linearalgebra::BaseVector *f) |
|
GraphScatteredVector * | createPersistentVector () |
|
SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API GraphScatteredVector * | createPersistentVector () |
|
linearalgebra::BaseMatrix * | getSystemBaseMatrix () |
|
SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API linearalgebra::BaseMatrix * | getSystemBaseMatrix () |
|
linearalgebra::BaseVector * | getSystemRHBaseVector () |
|
SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API linearalgebra::BaseVector * | getSystemRHBaseVector () |
|
linearalgebra::BaseVector * | getSystemLHBaseVector () |
|
SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API linearalgebra::BaseVector * | getSystemLHBaseVector () |
|
void | checkLinearSystem () |
|
SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API void | checkLinearSystem () |
|
bool | addJMInvJtLocal (GraphScatteredMatrix *M, MatrixLinearSolver< GraphScatteredMatrix, GraphScatteredVector, NoThreadManager >::ResMatrixType *result, const MatrixLinearSolver< GraphScatteredMatrix, GraphScatteredVector, NoThreadManager >::JMatrixType *J, const SReal fact) |
|