20 #ifndef _LINEAR_SPRING_DAMPER_FORCE_H_ 21 #define _LINEAR_SPRING_DAMPER_FORCE_H_ 23 #include "mbsim/functions/function.h" 47 double operator()(
const double& s,
const double& sd)
override {
return c*s + d*sd; }
48 void initializeUsingXML(xercesc::DOMElement *element)
override;
52 void setStiffnessCoefficient(
double c_) {
c=c_; }
53 void setDampingCoefficient(
double d_) { d=d_; }
LinearSpringDamperForce()=default
constructor
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: contact_kinematics.h:32
double c
stiffness, damping, undeformed length
Definition: linear_spring_damper_force.h:60
namespace MBSim
Definition: eigenanalyzer.cc:47