SOFA API  1a4bb3e7
Open source framework for multi-physics simuation
sofa::component::constraint::lagrangian::model::UnilateralLagrangianConstraint< DataTypes >::Contact Struct Reference

#include <UnilateralLagrangianConstraint.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
 
SReal mu
 angle for friction More...
 
Coord P
 
Coord Q
 
Real dfree
 

Attribute details

◆ contactDistance

◆ contactId

template<class DataTypes >
long sofa::component::constraint::lagrangian::model::UnilateralLagrangianConstraint< DataTypes >::Contact::contactId

◆ dfree

◆ id

template<class DataTypes >
unsigned int sofa::component::constraint::lagrangian::model::UnilateralLagrangianConstraint< DataTypes >::Contact::id

◆ localId

◆ m1

◆ m2

the two extremities of the spring: masses m1 and m2

◆ mu

angle for friction

◆ norm

contact normal, from m1 to m2

◆ P

◆ Q

◆ s

added for friction

◆ t

added for friction