SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::component::animationloop::ConstraintProblem Class Reference

#include <ConstraintAnimationLoop.h>

Protected Attributes

sofa::component::linearsolver::LPtrFullMatrix< double_W
 
sofa::component::linearsolver::FullVector< double_dFree
 
sofa::component::linearsolver::FullVector< double_force
 
sofa::component::linearsolver::FullVector< double_d
 
sofa::component::linearsolver::FullVector< double_df
 
std::vector< core::behavior::ConstraintResolution * > _constraintsResolutions
 
double _tol
 
int _dim
 
sofa::helper::system::thread::CTime_timer
 
bool m_printLog
 

Public Member Functions

 ConstraintProblem (bool printLog=false)
 
virtual ~ConstraintProblem ()
 
virtual void clear (int dim, const double &tol)
 
int getSize (void)
 
sofa::component::linearsolver::LPtrFullMatrix< double > * getW (void)
 
sofa::component::linearsolver::FullVector< double > * getDfree (void)
 
sofa::component::linearsolver::FullVector< double > * getD (void)
 
sofa::component::linearsolver::FullVector< double > * getF (void)
 
sofa::component::linearsolver::FullVector< double > * getdF (void)
 
std::vector< core::behavior::ConstraintResolution * > & getConstraintResolutions (void)
 
doublegetTolerance (void)
 
void gaussSeidelConstraintTimed (double &timeout, int numItMax)
 

Attribute details

std::vector<core::behavior::ConstraintResolution*> sofa::component::animationloop::ConstraintProblem::_constraintsResolutions
protected
sofa::component::linearsolver::FullVector<double> sofa::component::animationloop::ConstraintProblem::_d
protected
sofa::component::linearsolver::FullVector<double> sofa::component::animationloop::ConstraintProblem::_df
protected
sofa::component::linearsolver::FullVector<double> sofa::component::animationloop::ConstraintProblem::_dFree
protected
int sofa::component::animationloop::ConstraintProblem::_dim
protected
sofa::component::linearsolver::FullVector<double> sofa::component::animationloop::ConstraintProblem::_force
protected
sofa::helper::system::thread::CTime* sofa::component::animationloop::ConstraintProblem::_timer
protected
double sofa::component::animationloop::ConstraintProblem::_tol
protected
sofa::component::linearsolver::LPtrFullMatrix<double> sofa::component::animationloop::ConstraintProblem::_W
protected
bool sofa::component::animationloop::ConstraintProblem::m_printLog
protected

Constructor details

sofa::component::animationloop::ConstraintProblem::ConstraintProblem ( bool  printLog = false)
sofa::component::animationloop::ConstraintProblem::~ConstraintProblem ( )
virtual

Function details

void sofa::component::animationloop::ConstraintProblem::clear ( int  dim,
const double tol 
)
virtual
void sofa::component::animationloop::ConstraintProblem::gaussSeidelConstraintTimed ( double timeout,
int  numItMax 
)
std::vector<core::behavior::ConstraintResolution*>& sofa::component::animationloop::ConstraintProblem::getConstraintResolutions ( void  )
inline
sofa::component::linearsolver::FullVector<double>* sofa::component::animationloop::ConstraintProblem::getD ( void  )
inline
sofa::component::linearsolver::FullVector<double>* sofa::component::animationloop::ConstraintProblem::getdF ( void  )
inline
sofa::component::linearsolver::FullVector<double>* sofa::component::animationloop::ConstraintProblem::getDfree ( void  )
inline
sofa::component::linearsolver::FullVector<double>* sofa::component::animationloop::ConstraintProblem::getF ( void  )
inline
int sofa::component::animationloop::ConstraintProblem::getSize ( void  )
inline
double* sofa::component::animationloop::ConstraintProblem::getTolerance ( void  )
inline
sofa::component::linearsolver::LPtrFullMatrix<double>* sofa::component::animationloop::ConstraintProblem::getW ( void  )
inline