SOFA API  1df67014
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

◆ const0

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

index of first constraint

◆ hasArea

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

true if this constraint has area information

◆ hasDirection

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

true if this constraint has direction information

◆ hasId

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

true if this constraint has persistent ID information

◆ hasPosition

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

true if this constraint has coordinates information

◆ nbGroups

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

how many groups of constraints are active

◆ nbLines

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

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

◆ offsetArea

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

index of first constraint group info in vector of areas

◆ offsetDirection

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

index of first constraint info in vector of directions

◆ offsetId

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

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

◆ offsetPosition

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

index of first constraint group info in vector of coordinates

◆ parent

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

Constructor details

◆ ConstraintBlockInfo()

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