SOFA API  6a688117
Open source framework for multi-physics simuation
sofa::core::behavior::BaseConstraint::ConstraintBlockInfo Class Reference

#include <BaseConstraint.h>

Public Attributes

BaseConstraintparent
 
int const0
 index of first constraint More...
 
int nbLines
 how many dofs (i.e. lines in the matrix) are used by each constraint More...
 
int nbGroups
 how many groups of constraints are active More...
 
bool hasId
 true if this constraint has persistent ID information More...
 
bool hasPosition
 true if this constraint has coordinates information More...
 
bool hasDirection
 true if this constraint has direction information More...
 
bool hasArea
 true if this constraint has area information More...
 
int offsetId
 index of first constraint group info in vector of persistent ids and coordinates More...
 
int offsetPosition
 index of first constraint group info in vector of coordinates More...
 
int offsetDirection
 index of first constraint info in vector of directions More...
 
int offsetArea
 index of first constraint group info in vector of areas More...
 

Public Member Functions

 ConstraintBlockInfo ()
 

Attribute details

int sofa::core::behavior::BaseConstraint::ConstraintBlockInfo::const0

index of first constraint

bool sofa::core::behavior::BaseConstraint::ConstraintBlockInfo::hasArea

true if this constraint has area information

bool sofa::core::behavior::BaseConstraint::ConstraintBlockInfo::hasDirection

true if this constraint has direction information

bool sofa::core::behavior::BaseConstraint::ConstraintBlockInfo::hasId

true if this constraint has persistent ID information

bool sofa::core::behavior::BaseConstraint::ConstraintBlockInfo::hasPosition

true if this constraint has coordinates information

int sofa::core::behavior::BaseConstraint::ConstraintBlockInfo::nbGroups

how many groups of constraints are active

int sofa::core::behavior::BaseConstraint::ConstraintBlockInfo::nbLines

how many dofs (i.e. lines in the matrix) are used by each constraint

int sofa::core::behavior::BaseConstraint::ConstraintBlockInfo::offsetArea

index of first constraint group info in vector of areas

int sofa::core::behavior::BaseConstraint::ConstraintBlockInfo::offsetDirection

index of first constraint info in vector of directions

int sofa::core::behavior::BaseConstraint::ConstraintBlockInfo::offsetId

index of first constraint group info in vector of persistent ids and coordinates

int sofa::core::behavior::BaseConstraint::ConstraintBlockInfo::offsetPosition

index of first constraint group info in vector of coordinates

BaseConstraint* sofa::core::behavior::BaseConstraint::ConstraintBlockInfo::parent

Constructor details

sofa::core::behavior::BaseConstraint::ConstraintBlockInfo::ConstraintBlockInfo ( )
inline