#include <UnilateralConstraintResolution.h>
|
| | UnilateralConstraintResolutionWithFriction (SReal mu, PreviousForcesContainer *prev=nullptr, bool *active=nullptr) |
| |
| void | init (int line, SReal **w, SReal *force) override |
| | The resolution object can do precomputation with the compliance matrix, and give an initial guess. More...
|
| |
| void | resolution (int line, SReal **w, SReal *d, SReal *force, SReal *dFree) override |
| | Resolution of the constraint for one Gauss-Seidel iteration. More...
|
| |
| void | store (int line, SReal *force, bool) override |
| | Called after Gauss-Seidel last iteration, in order to store last computed forces for the initial guess. More...
|
| |
| | ConstraintResolution (unsigned int nbLines, SReal tolerance=0.0) |
| |
| virtual | ~ConstraintResolution () |
| |
| virtual void | initForce (int, SReal *) |
| | The resolution object can provide an initial guess. More...
|
| |
| void | setNbLines (unsigned int nbLines) |
| |
| unsigned int | getNbLines () const |
| |
| void | setTolerance (SReal tolerance) |
| |
| SReal | getTolerance () const |
| |
◆ _active
| bool* sofa::component::constraint::lagrangian::model::UnilateralConstraintResolutionWithFriction::_active |
|
protected |
◆ _mu
| SReal sofa::component::constraint::lagrangian::model::UnilateralConstraintResolutionWithFriction::_mu |
|
protected |
◆ _prev
| PreviousForcesContainer* sofa::component::constraint::lagrangian::model::UnilateralConstraintResolutionWithFriction::_prev |
|
protected |
◆ _W
| SReal sofa::component::constraint::lagrangian::model::UnilateralConstraintResolutionWithFriction::_W[6] |
|
protected |
◆ UnilateralConstraintResolutionWithFriction()
| sofa::component::constraint::lagrangian::model::UnilateralConstraintResolutionWithFriction::UnilateralConstraintResolutionWithFriction |
( |
SReal |
mu, |
|
|
PreviousForcesContainer * |
prev = nullptr, |
|
|
bool * |
active = nullptr |
|
) |
| |
|
inline |
◆ init()
| void sofa::component::constraint::lagrangian::model::UnilateralConstraintResolutionWithFriction::init |
( |
int |
, |
|
|
SReal ** |
, |
|
|
SReal * |
|
|
) |
| |
|
overridevirtual |
◆ resolution()
| void sofa::component::constraint::lagrangian::model::UnilateralConstraintResolutionWithFriction::resolution |
( |
int |
line, |
|
|
SReal ** |
w, |
|
|
SReal * |
d, |
|
|
SReal * |
force, |
|
|
SReal * |
dFree |
|
) |
| |
|
overridevirtual |
◆ store()
| void sofa::component::constraint::lagrangian::model::UnilateralConstraintResolutionWithFriction::store |
( |
int |
, |
|
|
SReal * |
, |
|
|
bool |
|
|
) |
| |
|
overridevirtual |