SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::core::behavior::ConstraintEquation Struct Reference

#include <BaseLMConstraint.h>

Expression of a line of the system created to solve the constraint. More...

Detailed Description

Expression of a line of the system created to solve the constraint.

Parameters
idxindex of the equation in the constraint equation system stored within the mechanical states
correctionright hand term of the equation: corresponds to a correction we have to apply to the system
constraintIdactual index of the line corresponding to the constraint equation in the whole system: can be different from idx

Public Attributes

int idx
 
SReal correction
 
unsigned int constraintId
 

Attribute details

unsigned int sofa::core::behavior::ConstraintEquation::constraintId
SReal sofa::core::behavior::ConstraintEquation::correction
int sofa::core::behavior::ConstraintEquation::idx