function describing a linear relationship between the input relative distance / velocity and the output for a spring
More...
#include <function.h>
List of all members.
Protected Attributes |
|
double | c |
| | stiffness, damping, undeformed length
|
|
double | d |
|
double | l0 |
Detailed Description
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
Constructor & Destructor Documentation
| MBSim::LinearSpringDamperForce::LinearSpringDamperForce |
( |
double |
c_, |
|
|
double |
d_, |
|
|
double |
l0_ |
|
) |
| |
|
inline |
constructor
- Parameters:
-
| stiffness | |
| damping | |
| undeformed | length |
Member Function Documentation
| void MBSim::LinearSpringDamperForce::initializeUsingXML |
( |
TiXmlElement * |
element | ) |
|
|
virtual |
| virtual double MBSim::LinearSpringDamperForce::operator() |
( |
const double & |
p1, |
|
|
const double & |
p2, |
|
|
const void * |
= NULL |
|
) |
| |
|
inlinevirtual |
The documentation for this class was generated from the following file: