LCPConstraintSolver
A Constraint Solver using the Linear Complementarity Problem formulation to solve BaseConstraint based components.
Target: Sofa.Component.Constraint.Lagrangian.Solver
namespace: sofa::component::constraint::lagrangian::solver
parents:
- ConstraintSolverImpl
Data
| Name | Description | Default value |
|---|---|---|
| name | object name | unnamed |
| printLog | if true, emits extra messages at runtime. | 0 |
| tags | list of the subsets the object belongs to | |
| bbox | this object bounding box | |
| componentState | The state of the component among (Dirty, Valid, Undefined, Loading, Invalid). | Undefined |
| listening | if true, handle the events, otherwise ignore the events | 0 |
| displayDebug | Display debug information. | 0 |
| initial_guess | activate LCP results history to improve its resolution performances. | 1 |
| build_lcp | LCP is not fully built to increase performance in some case. | 1 |
| tolerance | residual error threshold for termination of the Gauss-Seidel algorithm | 0.001 |
| maxIt | maximal number of iterations of the Gauss-Seidel algorithm | 1000 |
| regularizationTerm | Add regularization factor times the identity matrix to the compliance W when solving constraints | 0 |
| mu | Friction coefficient | 0.6 |
| minW | If not zero, constraints whose self-compliance (i.e. the corresponding value on the diagonal of W) is smaller than this threshold will be ignored | 0 |
| maxF | If not zero, constraints whose response force becomes larger than this threshold will be ignored | 0 |
| constraintForces | OUTPUT: constraint forces (stored only if computeConstraintForces=True) | |
| computeConstraintForces | enable the storage of the constraintForces. | 0 |
| group | list of ID of groups of constraints to be handled by this solver. | |
| graph | Graph of residuals at each iteration | |
| Visualization | ||
| showCellWidth | Distance between each constraint cells | |
| showTranslation | Position of the first cell | |
Links
| Name | Description | Destination type name |
|---|---|---|
| context | Graph Node containing this object (or BaseContext::getDefault() if no graph is used) | BaseContext |
| slaves | Sub-objects used internally by this object | BaseObject |
| master | nullptr for regular objects, or master object for which this object is one sub-objects | BaseObject |
| constraintCorrections | List of constraint corrections handled by this constraint solver | BaseConstraintCorrection |