SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::constraint::UniformConstraint< DataTypes > Class Template Reference

#include <UniformConstraint.h>

Inheritance diagram for sofa::constraint::UniformConstraint< DataTypes >:

Public Attributes

sofa::Data< boold_iterative
 
sofa::Data< boold_constraintRestPos
 

Protected Attributes

unsigned int m_constraintIndex
 

Public Member Functions

 SOFA_CLASS (SOFA_TEMPLATE(UniformConstraint, DataTypes), SOFA_TEMPLATE(sofa::core::behavior::Constraint, DataTypes))
 
void buildConstraintMatrix (const sofa::core::ConstraintParams *cParams, DataMatrixDeriv &c, unsigned int &cIndex, const DataVecCoord &x) override
 
void getConstraintViolation (const sofa::core::ConstraintParams *cParams, sofa::defaulttype::BaseVector *resV, const DataVecCoord &x, const DataVecDeriv &v) override
 
void getConstraintResolution (const sofa::core::ConstraintParams *cParams, std::vector< sofa::core::behavior::ConstraintResolution * > &crVector, unsigned int &offset) override
 

Protected Member Functions

 UniformConstraint ()
 

Attribute details

template<class DataTypes >
sofa::Data<bool> sofa::constraint::UniformConstraint< DataTypes >::d_constraintRestPos
template<class DataTypes >
sofa::Data<bool> sofa::constraint::UniformConstraint< DataTypes >::d_iterative
template<class DataTypes >
unsigned int sofa::constraint::UniformConstraint< DataTypes >::m_constraintIndex
protected

Constructor details

template<class DataTypes >
sofa::constraint::UniformConstraint< DataTypes >::UniformConstraint ( )
protected

Function details

template<class DataTypes >
void sofa::constraint::UniformConstraint< DataTypes >::buildConstraintMatrix ( const sofa::core::ConstraintParams cParams,
DataMatrixDeriv c,
unsigned int cIndex,
const DataVecCoord x 
)
override
template<class DataTypes >
void sofa::constraint::UniformConstraint< DataTypes >::getConstraintResolution ( const sofa::core::ConstraintParams cParams,
std::vector< sofa::core::behavior::ConstraintResolution * > &  crVector,
unsigned int offset 
)
override
template<class DataTypes >
void sofa::constraint::UniformConstraint< DataTypes >::getConstraintViolation ( const sofa::core::ConstraintParams cParams,
sofa::defaulttype::BaseVector resV,
const DataVecCoord x,
const DataVecDeriv v 
)
override
template<class DataTypes >
sofa::constraint::UniformConstraint< DataTypes >::SOFA_CLASS ( SOFA_TEMPLATE(UniformConstraint< DataTypes >, DataTypes)  ,
SOFA_TEMPLATE(sofa::core::behavior::Constraint, DataTypes)   
)