SOFA API  6a688117
Open source framework for multi-physics simuation
sofa::constraint Namespace Reference

Classes

class  MappingGeometricStiffnessForceField
 
class  UniformConstraint
 

Functions

template<class DstV , class Free >
void computeViolation (DstV &resV, unsigned int constraintIndex, const Free &free, size_t N, std::function< double(int i, int j)> f)
 

Variables

int GeometricStiffnessForceFieldClass
 
int UniformConstraintClass
 

Function Documentation

template<class DstV , class Free >
void sofa::constraint::computeViolation ( DstV &  resV,
unsigned int  constraintIndex,
const Free &  free,
size_t  N,
std::function< double(int i, int j)>  f 
)

Variable Documentation

int sofa::constraint::GeometricStiffnessForceFieldClass
Initial value:
= sofa::core::RegisterObject("A ForceField that assembles the geometric stiffness stored in a Mapping")
.add<MappingGeometricStiffnessForceField<sofa::defaulttype::Vec3Types> >()
.add<MappingGeometricStiffnessForceField<sofa::defaulttype::Rigid3Types> >()
RegisterObject & add(bool defaultTemplate=false)
Definition: ObjectFactory.h:291
Helper class used to register a class in the ObjectFactory.
Definition: ObjectFactory.h:259
int sofa::constraint::UniformConstraintClass
Initial value:
= sofa::core::RegisterObject("A constraint equation applied on all dofs.")
.add< UniformConstraint<sofa::defaulttype::Vec1Types> >()
RegisterObject & add(bool defaultTemplate=false)
Definition: ObjectFactory.h:291
Helper class used to register a class in the ObjectFactory.
Definition: ObjectFactory.h:259