#include <QuadularBendingSprings.h>
Public Attributes | |
Mat | DfDx |
int | m1 |
the edge stiffness matrix More... | |
int | m2 |
int | m3 |
the two extremities of the first spring: masses m1 and m2 More... | |
int | m4 |
double | ks |
the two extremities of the second spring: masses m3 and m4 More... | |
double | kd |
spring stiffness (initialized to the default value) More... | |
double | restlength1 |
damping factor (initialized to the default value) More... | |
double | restlength2 |
rest length of the first spring More... | |
bool | is_activated |
rest length of the second spring More... | |
bool | is_initialized |
Public Member Functions | |
EdgeInformation (int m1=0, int m2=0, int m3=0, int m4=0, double restlength1=0.0, double restlength2=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::forcefield::QuadularBendingSprings< DataTypes >::EdgeInformation::DfDx |
bool sofa::component::forcefield::QuadularBendingSprings< DataTypes >::EdgeInformation::is_activated |
rest length of the second spring
bool sofa::component::forcefield::QuadularBendingSprings< DataTypes >::EdgeInformation::is_initialized |
double sofa::component::forcefield::QuadularBendingSprings< DataTypes >::EdgeInformation::kd |
spring stiffness (initialized to the default value)
double sofa::component::forcefield::QuadularBendingSprings< DataTypes >::EdgeInformation::ks |
the two extremities of the second spring: masses m3 and m4
int sofa::component::forcefield::QuadularBendingSprings< DataTypes >::EdgeInformation::m1 |
the edge stiffness matrix
int sofa::component::forcefield::QuadularBendingSprings< DataTypes >::EdgeInformation::m2 |
int sofa::component::forcefield::QuadularBendingSprings< DataTypes >::EdgeInformation::m3 |
the two extremities of the first spring: masses m1 and m2
int sofa::component::forcefield::QuadularBendingSprings< DataTypes >::EdgeInformation::m4 |
double sofa::component::forcefield::QuadularBendingSprings< DataTypes >::EdgeInformation::restlength1 |
damping factor (initialized to the default value)
double sofa::component::forcefield::QuadularBendingSprings< DataTypes >::EdgeInformation::restlength2 |
rest length of the first spring
|
inline |
|
friend |
Output stream.
|
friend |
Input stream.