SOFA API  014b24ea
Open source framework for multi-physics simuation
sofa::component::constraintset::bilateralconstraintresolution::BilateralConstraintResolution Class Reference

#include <BilateralConstraintResolution.h>

Inheritance diagram for sofa::component::constraintset::bilateralconstraintresolution::BilateralConstraintResolution:

Protected Attributes

double_f
 

Public Member Functions

 BilateralConstraintResolution (double *initF=nullptr)
 
void resolution (int line, double **w, double *d, double *force, double *dfree) override
 Resolution of the constraint for one Gauss-Seidel iteration. More...
 
void init (int line, double **, double *force) override
 The resolution object can do precomputation with the compliance matrix, and give an initial guess. More...
 
void initForce (int line, double *force) override
 The resolution object can provide an initial guess. More...
 
void store (int line, double *force, bool) override
 Called after Gauss-Seidel last iteration, in order to store last computed forces for the inital guess. More...
 
- Public Member Functions inherited from sofa::core::behavior::ConstraintResolution
 ConstraintResolution (unsigned int nbLines, double tolerance=0.0)
 
virtual ~ConstraintResolution ()
 
void setNbLines (unsigned int nbLines)
 
unsigned int getNbLines () const
 
void setTolerance (double tolerance)
 
double getTolerance () const
 

Attribute details

double* sofa::component::constraintset::bilateralconstraintresolution::BilateralConstraintResolution::_f
protected

Constructor details

sofa::component::constraintset::bilateralconstraintresolution::BilateralConstraintResolution::BilateralConstraintResolution ( double initF = nullptr)
inline

Function details

void sofa::component::constraintset::bilateralconstraintresolution::BilateralConstraintResolution::init ( int  ,
double **  ,
double  
)
inlineoverridevirtual

The resolution object can do precomputation with the compliance matrix, and give an initial guess.

Reimplemented from sofa::core::behavior::ConstraintResolution.

void sofa::component::constraintset::bilateralconstraintresolution::BilateralConstraintResolution::initForce ( int  ,
double  
)
inlineoverridevirtual

The resolution object can provide an initial guess.

Reimplemented from sofa::core::behavior::ConstraintResolution.

void sofa::component::constraintset::bilateralconstraintresolution::BilateralConstraintResolution::resolution ( int  line,
double **  w,
double d,
double force,
double dFree 
)
inlineoverridevirtual

Resolution of the constraint for one Gauss-Seidel iteration.

Reimplemented from sofa::core::behavior::ConstraintResolution.

void sofa::component::constraintset::bilateralconstraintresolution::BilateralConstraintResolution::store ( int  ,
double ,
bool   
)
inlineoverridevirtual

Called after Gauss-Seidel last iteration, in order to store last computed forces for the inital guess.

Reimplemented from sofa::core::behavior::ConstraintResolution.