SOFA API  73d8bb95
Open source framework for multi-physics simuation
sofa::component::constraintset::UnilateralConstraintResolution Class Reference

#include <UnilateralInteractionConstraint.h>

Inheritance diagram for sofa::component::constraintset::UnilateralConstraintResolution:

Public Member Functions

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

Constructor details

sofa::component::constraintset::UnilateralConstraintResolution::UnilateralConstraintResolution ( )
inline

Function details

void sofa::component::constraintset::UnilateralConstraintResolution::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.