function describing a linear relationship between the input relative distance / velocity and the output for a spring
More...
Public Member Functions |
|
| LinearSpringDamperForce () |
| | constructor
|
| | LinearSpringDamperForce (double c_, double d_, double l0_) |
| | constructor
|
| virtual double | operator() (const double &g, const double &gd, const void *=NULL) |
| void | initializeUsingXML (MBXMLUtils::TiXmlElement *element) |
| | initialize function with XML code
|
|
void | setParameters (double c_, double d_, double l0_) |
Protected Attributes |
|
double | c |
| | stiffness, damping, undeformed length
|
|
double | d |
|
double | l0 |
function describing a linear relationship between the input relative distance / velocity and the output for a spring
- Author:
- Martin Foerg
- Date:
- 2009-08-31 some comments (Thorsten Schindler)
- Todo:
- put in function_library TODO