template<class TMatrix, class TVector>
class sofa::component::linearsolver::direct::CholeskySolver< TMatrix, TVector >
Direct linear solver based on Cholesky factorization, for dense matrices.
|
| SOFA_CLASS (SOFA_TEMPLATE2(CholeskySolver, TMatrix, TVector), SOFA_TEMPLATE2(sofa::component::linearsolver::MatrixLinearSolver, TMatrix, TVector)) |
|
| CholeskySolver () |
|
void | solve (Matrix &M, Vector &x, Vector &b) override |
| Compute x such as Mx=b. M is not used, it must have been factored before using method invert(Matrix& M) More...
|
|
void | invert (Matrix &M) override |
| Factors the matrix. Must be done before solving. More...
|
|
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) |
|