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

#include <ConstraintAnimationLoop.h>

Protected Attributes

sofa::linearalgebra::LPtrFullMatrix< SReal_W
 
sofa::linearalgebra::FullVector< SReal_dFree
 
sofa::linearalgebra::FullVector< SReal_force
 
sofa::linearalgebra::FullVector< SReal_d
 
sofa::linearalgebra::FullVector< SReal_df
 
std::vector< core::behavior::ConstraintResolution * > _constraintsResolutions
 
SReal _tol
 
int _dim
 
sofa::helper::system::thread::CTime_timer
 

Public Member Functions

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

Attribute details

◆ _constraintsResolutions

std::vector<core::behavior::ConstraintResolution*> sofa::component::animationloop::ConstraintProblem::_constraintsResolutions
protected

◆ _d

sofa::linearalgebra::FullVector<SReal> sofa::component::animationloop::ConstraintProblem::_d
protected

◆ _df

sofa::linearalgebra::FullVector<SReal> sofa::component::animationloop::ConstraintProblem::_df
protected

◆ _dFree

sofa::linearalgebra::FullVector<SReal> sofa::component::animationloop::ConstraintProblem::_dFree
protected

◆ _dim

int sofa::component::animationloop::ConstraintProblem::_dim
protected

◆ _force

sofa::linearalgebra::FullVector<SReal> sofa::component::animationloop::ConstraintProblem::_force
protected

◆ _timer

sofa::helper::system::thread::CTime* sofa::component::animationloop::ConstraintProblem::_timer
protected

◆ _tol

SReal sofa::component::animationloop::ConstraintProblem::_tol
protected

◆ _W

sofa::linearalgebra::LPtrFullMatrix<SReal> sofa::component::animationloop::ConstraintProblem::_W
protected

Constructor details

◆ ConstraintProblem()

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

◆ ~ConstraintProblem()

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

Function details

◆ clear()

void sofa::component::animationloop::ConstraintProblem::clear ( int  dim,
const SReal tol 
)
virtual

◆ gaussSeidelConstraintTimed()

void sofa::component::animationloop::ConstraintProblem::gaussSeidelConstraintTimed ( SReal timeout,
int  numItMax 
)

◆ getConstraintResolutions()

std::vector<core::behavior::ConstraintResolution*>& sofa::component::animationloop::ConstraintProblem::getConstraintResolutions ( void  )
inline

◆ getD()

sofa::linearalgebra::FullVector<SReal>* sofa::component::animationloop::ConstraintProblem::getD ( void  )
inline

◆ getdF()

sofa::linearalgebra::FullVector<SReal>* sofa::component::animationloop::ConstraintProblem::getdF ( void  )
inline

◆ getDfree()

sofa::linearalgebra::FullVector<SReal>* sofa::component::animationloop::ConstraintProblem::getDfree ( void  )
inline

◆ getF()

sofa::linearalgebra::FullVector<SReal>* sofa::component::animationloop::ConstraintProblem::getF ( void  )
inline

◆ getSize()

int sofa::component::animationloop::ConstraintProblem::getSize ( void  )
inline

◆ getTolerance()

SReal* sofa::component::animationloop::ConstraintProblem::getTolerance ( void  )
inline

◆ getW()

sofa::linearalgebra::LPtrFullMatrix<SReal>* sofa::component::animationloop::ConstraintProblem::getW ( void  )
inline