#include <VectorSpringForceField.h>
Public Attributes | |
| Real | ks |
| spring stiffness More... | |
| Real | kd |
| damping factor More... | |
| Deriv | restVector |
| rest vector of the spring More... | |
Public Member Functions | |
| Spring (Real _ks, Real _kd, Deriv _rl) | |
| Spring () | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const Spring &) |
| Output stream. More... | |
| std::istream & | operator>> (std::istream &in, Spring &) |
| Input stream. More... | |
| Real sofa::component::solidmechanics::spring::VectorSpringForceField< DataTypes >::Spring::kd |
damping factor
| Real sofa::component::solidmechanics::spring::VectorSpringForceField< DataTypes >::Spring::ks |
spring stiffness
| Deriv sofa::component::solidmechanics::spring::VectorSpringForceField< DataTypes >::Spring::restVector |
rest vector of the spring
|
inline |
|
inline |
|
friend |
Output stream.
|
friend |
Input stream.