SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::component::constraintset::UnilateralInteractionConstraint< DataTypes >::Contact Struct Reference

#include <UnilateralInteractionConstraint.h>

Public Attributes

int m1
 
int m2
 the two extremities of the spring: masses m1 and m2 More...
 
Deriv norm
 contact normal, from m1 to m2 More...
 
Deriv t
 added for friction More...
 
Deriv s
 added for friction More...
 
Real contactDistance
 
unsigned int id
 
long contactId
 
PersistentID localId
 
double mu
 angle for friction More...
 
Coord P
 
Coord Q
 
Real dfree
 

Attribute details

template<class DataTypes>
Real sofa::component::constraintset::UnilateralInteractionConstraint< DataTypes >::Contact::contactDistance
template<class DataTypes>
long sofa::component::constraintset::UnilateralInteractionConstraint< DataTypes >::Contact::contactId
template<class DataTypes>
Real sofa::component::constraintset::UnilateralInteractionConstraint< DataTypes >::Contact::dfree
mutable
template<class DataTypes>
unsigned int sofa::component::constraintset::UnilateralInteractionConstraint< DataTypes >::Contact::id

the two extremities of the spring: masses m1 and m2

angle for friction

contact normal, from m1 to m2

added for friction

added for friction