#include <TriangularBendingSprings.h>
Public Attributes | |
Mat | DfDx |
the edge stiffness matrix More... | |
int | m1 |
int | m2 |
the two extremities of the spring: masses m1 and m2 More... | |
Real | ks |
spring stiffness (initialized to the default value) More... | |
Real | kd |
damping factor (initialized to the default value) More... | |
Real | restlength |
rest length of the spring More... | |
bool | is_activated |
bool | is_initialized |
Public Member Functions | |
EdgeInformation (int m1=0, int m2=0, Real restlength=0.0, bool is_activated=false, bool is_initialized=false) | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const EdgeInformation &) |
Output stream. More... | |
std::istream & | operator>> (std::istream &in, EdgeInformation &) |
Input stream. More... | |
Mat sofa::component::solidmechanics::spring::TriangularBendingSprings< DataTypes >::EdgeInformation::DfDx |
the edge stiffness matrix
bool sofa::component::solidmechanics::spring::TriangularBendingSprings< DataTypes >::EdgeInformation::is_activated |
bool sofa::component::solidmechanics::spring::TriangularBendingSprings< DataTypes >::EdgeInformation::is_initialized |
Real sofa::component::solidmechanics::spring::TriangularBendingSprings< DataTypes >::EdgeInformation::kd |
damping factor (initialized to the default value)
Real sofa::component::solidmechanics::spring::TriangularBendingSprings< DataTypes >::EdgeInformation::ks |
spring stiffness (initialized to the default value)
int sofa::component::solidmechanics::spring::TriangularBendingSprings< DataTypes >::EdgeInformation::m1 |
int sofa::component::solidmechanics::spring::TriangularBendingSprings< DataTypes >::EdgeInformation::m2 |
the two extremities of the spring: masses m1 and m2
Real sofa::component::solidmechanics::spring::TriangularBendingSprings< DataTypes >::EdgeInformation::restlength |
rest length of the spring
|
inline |
|
friend |
Output stream.
|
friend |
Input stream.