20 #ifndef _LINEAR_SPRING_DAMPER_FORCE_H_
21 #define _LINEAR_SPRING_DAMPER_FORCE_H_
23 #include "mbsim/functions/function.h"
47 virtual double operator()(
const double& s,
const double& sd) {
return c*s + d*sd; }
48 void initializeUsingXML(xercesc::DOMElement *element);
52 void setStiffnessCoefficient(
double c_) {
c=c_; }
53 void setDampingCoefficient(
double d_) { d=d_; }
LinearSpringDamperForce()
constructor
Definition: linear_spring_damper_force.h:37
LinearSpringDamperForce(double c_, double d_)
constructor
Definition: linear_spring_damper_force.h:44
function describing a linear relationship between the input deflection / relative velocity and the ou...
Definition: linear_spring_damper_force.h:32
Definition: planar_contour.h:31
double c
stiffness, damping, undeformed length
Definition: linear_spring_damper_force.h:60