SOFA API  99934cbc
Open source framework for multi-physics simuation
sofa::component::constraintset::GenericConstraintProblem Class Reference

#include <GenericConstraintSolver.h>

Inheritance diagram for sofa::component::constraintset::GenericConstraintProblem:

Public Attributes

sofa::component::linearsolver::FullVector< double_d
 
std::vector< core::behavior::ConstraintResolution * > constraintsResolutions
 
bool scaleTolerance
 
bool allVerified
 
bool unbuilt
 
double sor
 
double sceneTime
 
double currentError
 
int currentIterations
 
sofa::component::linearsolver::SparseMatrix< doubleWdiag
 
std::list< unsigned intconstraints_sequence
 
bool change_sequence
 
std::vector< ConstraintCorrectionscclist_elems
 
- Public Attributes inherited from sofa::component::constraintset::ConstraintProblem
sofa::component::linearsolver::LPtrFullMatrix< doubleW
 
sofa::component::linearsolver::FullVector< doubledFree
 
sofa::component::linearsolver::FullVector< doublef
 
double tolerance
 
int maxIterations
 

Public Member Functions

 GenericConstraintProblem ()
 
 ~GenericConstraintProblem () override
 
void clear (int nbConstraints) override
 
void freeConstraintResolutions ()
 
void solveTimed (double tol, int maxIt, double timeout) override
 
void gaussSeidel (double timeout=0, GenericConstraintSolver *solver=nullptr)
 
void unbuiltGaussSeidel (double timeout=0, GenericConstraintSolver *solver=nullptr)
 
int getNumConstraints ()
 
int getNumConstraintGroups ()
 
- Public Member Functions inherited from sofa::component::constraintset::ConstraintProblem
 ConstraintProblem ()
 
virtual ~ConstraintProblem ()
 
int getDimension ()
 
double ** getW ()
 
doublegetDfree ()
 
doublegetF ()
 
unsigned int getProblemId ()
 

Additional Inherited Members

- Protected Attributes inherited from sofa::component::constraintset::ConstraintProblem
int dimension
 
unsigned int problemId
 

Attribute details

sofa::component::linearsolver::FullVector<double> sofa::component::constraintset::GenericConstraintProblem::_d
bool sofa::component::constraintset::GenericConstraintProblem::allVerified
std::vector< ConstraintCorrections > sofa::component::constraintset::GenericConstraintProblem::cclist_elems
bool sofa::component::constraintset::GenericConstraintProblem::change_sequence
std::list<unsigned int> sofa::component::constraintset::GenericConstraintProblem::constraints_sequence
std::vector<core::behavior::ConstraintResolution*> sofa::component::constraintset::GenericConstraintProblem::constraintsResolutions
double sofa::component::constraintset::GenericConstraintProblem::currentError
int sofa::component::constraintset::GenericConstraintProblem::currentIterations
bool sofa::component::constraintset::GenericConstraintProblem::scaleTolerance
double sofa::component::constraintset::GenericConstraintProblem::sceneTime
double sofa::component::constraintset::GenericConstraintProblem::sor
bool sofa::component::constraintset::GenericConstraintProblem::unbuilt
sofa::component::linearsolver::SparseMatrix<double> sofa::component::constraintset::GenericConstraintProblem::Wdiag

Constructor details

sofa::component::constraintset::GenericConstraintProblem::GenericConstraintProblem ( )
inline
sofa::component::constraintset::GenericConstraintProblem::~GenericConstraintProblem ( )
inlineoverride

Function details

void sofa::component::constraintset::GenericConstraintProblem::clear ( int  nbConstraints)
overridevirtual
void sofa::component::constraintset::GenericConstraintProblem::freeConstraintResolutions ( )
void sofa::component::constraintset::GenericConstraintProblem::gaussSeidel ( double  timeout = 0,
GenericConstraintSolver solver = nullptr 
)
int sofa::component::constraintset::GenericConstraintProblem::getNumConstraintGroups ( )
int sofa::component::constraintset::GenericConstraintProblem::getNumConstraints ( )
void sofa::component::constraintset::GenericConstraintProblem::solveTimed ( double  tol,
int  maxIt,
double  timeout 
)
overridevirtual
void sofa::component::constraintset::GenericConstraintProblem::unbuiltGaussSeidel ( double  timeout = 0,
GenericConstraintSolver solver = nullptr 
)