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

#include <TriangularBendingSprings.h>

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

Collaboration graph
[legend]

Public Member Functions

 EdgeInformation (int m1=0, int m2=0, double restlength=0.0, bool is_activated=false, bool is_initialized=false)

Data Fields

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

Detailed Description

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

Definition at line 112 of file TriangularBendingSprings.h.


Constructor & Destructor Documentation

template<class DataTypes >
sofa::component::forcefield::TriangularBendingSprings< DataTypes >::EdgeInformation::EdgeInformation ( int  m1 = 0,
int  m2 = 0,
double  restlength = 0.0,
bool  is_activated = false,
bool  is_initialized = false 
) [inline]

Definition at line 128 of file TriangularBendingSprings.h.


Field Documentation


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

Generated on Sun Nov 23 04:20:15 2008 for Sofa by  doxygen 1.5.7.1