SOFA API  1c8b807d
Open source framework for multi-physics simuation
sofa::component::linearsolver::MatrixLinearSolver< Matrix, Vector, ThreadManager > Class Template Reference
Inheritance diagram for sofa::component::linearsolver::MatrixLinearSolver< Matrix, Vector, ThreadManager >:

Classes

class  TempVectorContainer
 

Public Member Functions

void resetSystem ()
 
void resizeSystem (Size n)
 
void setSystemMBKMatrix (const core::MechanicalParams *mparams)
 
void rebuildSystem (SReal, SReal)
 
void setSystemLHVector (core::MultiVecDerivId v)
 
void applySystemSolution ()
 
void applyConstraintForce (const sofa::core::ConstraintParams *, sofa::core::MultiVecDerivId, const linearalgebra::BaseVector *)
 
void computeResidual (const core::ExecParams *, linearalgebra::BaseVector *)
 
GraphScatteredVectorcreatePersistentVector ()
 
linearalgebra::BaseMatrixgetSystemBaseMatrix ()
 
linearalgebra::BaseVectorgetSystemRHBaseVector ()
 
linearalgebra::BaseVectorgetSystemLHBaseVector ()
 
void checkLinearSystem ()
 
bool addJMInvJtLocal (GraphScatteredMatrix *M, MatrixLinearSolver< GraphScatteredMatrix, GraphScatteredVector, NoThreadManager >::ResMatrixType *result, const MatrixLinearSolver< GraphScatteredMatrix, GraphScatteredVector, NoThreadManager >::JMatrixType *J, const SReal fact)
 
SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API void resetSystem ()
 
SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API void resizeSystem (Size)
 
SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API void setSystemMBKMatrix (const core::MechanicalParams *mparams)
 
SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API void rebuildSystem (SReal massFactor, SReal forceFactor)
 
SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API void setSystemLHVector (core::MultiVecDerivId v)
 
SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API void applySystemSolution ()
 
SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API GraphScatteredVectorcreatePersistentVector ()
 
SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API linearalgebra::BaseMatrixgetSystemBaseMatrix ()
 
SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API linearalgebra::BaseVectorgetSystemRHBaseVector ()
 
SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API linearalgebra::BaseVectorgetSystemLHBaseVector ()
 
SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API void applyConstraintForce (const sofa::core::ConstraintParams *, sofa::core::MultiVecDerivId, const linearalgebra::BaseVector *)
 
SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API void computeResidual (const core::ExecParams *params, linearalgebra::BaseVector *f)
 
SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API void checkLinearSystem ()
 

Function details

◆ addJMInvJtLocal()

◆ applyConstraintForce() [1/2]

template<class Matrix , class Vector >
void sofa::component::linearsolver::MatrixLinearSolver< Matrix, Vector >::applyConstraintForce ( const sofa::core::ConstraintParams cparams,
sofa::core::MultiVecDerivId  dx,
const linearalgebra::BaseVector f 
)

◆ applyConstraintForce() [2/2]

◆ applySystemSolution() [1/2]

◆ applySystemSolution() [2/2]

SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API void sofa::component::linearsolver::MatrixLinearSolver< GraphScatteredMatrix, GraphScatteredVector, NoThreadManager >::applySystemSolution ( )

◆ checkLinearSystem() [1/2]

◆ checkLinearSystem() [2/2]

SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API void sofa::component::linearsolver::MatrixLinearSolver< GraphScatteredMatrix, GraphScatteredVector, NoThreadManager >::checkLinearSystem ( )

◆ computeResidual() [1/2]

template<class Matrix , class Vector >
void sofa::component::linearsolver::MatrixLinearSolver< Matrix, Vector >::computeResidual ( const core::ExecParams params,
linearalgebra::BaseVector f 
)

◆ computeResidual() [2/2]

SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API void sofa::component::linearsolver::MatrixLinearSolver< GraphScatteredMatrix, GraphScatteredVector, NoThreadManager >::computeResidual ( const core::ExecParams params,
linearalgebra::BaseVector f 
)

◆ createPersistentVector() [1/2]

template<class Matrix , class Vector >
Vector * sofa::component::linearsolver::MatrixLinearSolver< Matrix, Vector >::createPersistentVector

◆ createPersistentVector() [2/2]

SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API GraphScatteredVector * sofa::component::linearsolver::MatrixLinearSolver< GraphScatteredMatrix, GraphScatteredVector, NoThreadManager >::createPersistentVector ( )

◆ getSystemBaseMatrix() [1/2]

◆ getSystemBaseMatrix() [2/2]

◆ getSystemLHBaseVector() [1/2]

◆ getSystemLHBaseVector() [2/2]

◆ getSystemRHBaseVector() [1/2]

◆ getSystemRHBaseVector() [2/2]

◆ rebuildSystem() [1/2]

SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API void sofa::component::linearsolver::MatrixLinearSolver< GraphScatteredMatrix, GraphScatteredVector, NoThreadManager >::rebuildSystem ( SReal  massFactor,
SReal  forceFactor 
)

◆ rebuildSystem() [2/2]

template<class Matrix , class Vector >
void sofa::component::linearsolver::MatrixLinearSolver< Matrix, Vector >::rebuildSystem ( SReal  massFactor,
SReal  forceFactor 
)

◆ resetSystem() [1/2]

template<class Matrix , class Vector >
void sofa::component::linearsolver::MatrixLinearSolver< Matrix, Vector >::resetSystem

◆ resetSystem() [2/2]

SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API void sofa::component::linearsolver::MatrixLinearSolver< GraphScatteredMatrix, GraphScatteredVector, NoThreadManager >::resetSystem ( )

◆ resizeSystem() [1/2]

template<class Matrix , class Vector >
void sofa::component::linearsolver::MatrixLinearSolver< Matrix, Vector >::resizeSystem ( Size  n)

◆ resizeSystem() [2/2]

SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API void sofa::component::linearsolver::MatrixLinearSolver< GraphScatteredMatrix, GraphScatteredVector, NoThreadManager >::resizeSystem ( Size  )

◆ setSystemLHVector() [1/2]

template<class Matrix , class Vector >
void sofa::component::linearsolver::MatrixLinearSolver< Matrix, Vector >::setSystemLHVector ( core::MultiVecDerivId  v)

◆ setSystemLHVector() [2/2]

SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API void sofa::component::linearsolver::MatrixLinearSolver< GraphScatteredMatrix, GraphScatteredVector, NoThreadManager >::setSystemLHVector ( core::MultiVecDerivId  v)

◆ setSystemMBKMatrix() [1/2]

template<class Matrix , class Vector >
void sofa::component::linearsolver::MatrixLinearSolver< Matrix, Vector >::setSystemMBKMatrix ( const core::MechanicalParams mparams)

◆ setSystemMBKMatrix() [2/2]

SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API void sofa::component::linearsolver::MatrixLinearSolver< GraphScatteredMatrix, GraphScatteredVector, NoThreadManager >::setSystemMBKMatrix ( const core::MechanicalParams mparams)