sofa::component::forcefield::QuadularBendingSprings< DataTypes >::EdgeInformation Class Reference

#include <QuadularBendingSprings.h>

Collaboration diagram for sofa::component::forcefield::QuadularBendingSprings< DataTypes >::EdgeInformation:

Collaboration graph
[legend]

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)

Data Fields

Mat3 DfDx
int m1
 the edge stiffness matrix
int m2
int m3
 the two extremities of the first spring: masses m1 and m2
int m4
double ks
 the two extremities of the second spring: masses m3 and m4
double kd
 spring stiffness (initialized to the default value)
double restlength1
 damping factor (initialized to the default value)
double restlength2
 rest length of the first spring
bool is_activated
 rest length of the second spring
bool is_initialized

Detailed Description

template<class DataTypes>
class sofa::component::forcefield::QuadularBendingSprings< DataTypes >::EdgeInformation

Definition at line 93 of file QuadularBendingSprings.h.


Constructor & Destructor Documentation

template<class DataTypes >
sofa::component::forcefield::QuadularBendingSprings< DataTypes >::EdgeInformation::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 
) [inline]

Definition at line 111 of file QuadularBendingSprings.h.


Field Documentation


The documentation for this class was generated from the following file:

Generated on Sun Nov 23 04:19:36 2008 for Sofa by  doxygen 1.5.7.1