SOFA API  3944ba52
Open source framework for multi-physics simuation
sofa::component::constraintset::ConstraintProblem Class Referenceabstract

#include <ConstraintSolverImpl.h>

Inheritance diagram for sofa::component::constraintset::ConstraintProblem:

Public Attributes

sofa::component::linearsolver::LPtrFullMatrix< doubleW
 
sofa::component::linearsolver::FullVector< doubledFree
 
sofa::component::linearsolver::FullVector< doublef
 
double tolerance
 
int maxIterations
 

Protected Attributes

int dimension
 
unsigned int problemId
 

Public Member Functions

 ConstraintProblem ()
 
virtual ~ConstraintProblem ()
 
virtual void clear (int nbConstraints)
 
int getDimension ()
 
double ** getW ()
 
doublegetDfree ()
 
doublegetF ()
 
virtual void solveTimed (double tolerance, int maxIt, double timeout)=0
 
unsigned int getProblemId ()
 

Attribute details

sofa::component::linearsolver::FullVector<double> sofa::component::constraintset::ConstraintProblem::dFree
int sofa::component::constraintset::ConstraintProblem::dimension
protected
sofa::component::linearsolver::FullVector<double> sofa::component::constraintset::ConstraintProblem::f
int sofa::component::constraintset::ConstraintProblem::maxIterations
unsigned int sofa::component::constraintset::ConstraintProblem::problemId
protected
double sofa::component::constraintset::ConstraintProblem::tolerance
sofa::component::linearsolver::LPtrFullMatrix<double> sofa::component::constraintset::ConstraintProblem::W

Constructor details

sofa::component::constraintset::ConstraintProblem::ConstraintProblem ( )
sofa::component::constraintset::ConstraintProblem::~ConstraintProblem ( )
virtual

Function details

void sofa::component::constraintset::ConstraintProblem::clear ( int  nbConstraints)
virtual
double* sofa::component::constraintset::ConstraintProblem::getDfree ( )
inline
int sofa::component::constraintset::ConstraintProblem::getDimension ( )
inline
double* sofa::component::constraintset::ConstraintProblem::getF ( )
inline
unsigned int sofa::component::constraintset::ConstraintProblem::getProblemId ( )
double** sofa::component::constraintset::ConstraintProblem::getW ( )
inline
virtual void sofa::component::constraintset::ConstraintProblem::solveTimed ( double  tolerance,
int  maxIt,
double  timeout 
)
pure virtual