20 #ifndef _NONLINEAR_SPRING_DAMPER_FORCE_H_
21 #define _NONLINEAR_SPRING_DAMPER_FORCE_H_
23 #include "mbsim/functions/function.h"
58 virtual double operator()(
const double& s,
const double& sd) {
return (*
sF)(s) + (*
sdF)(sd); }
59 void initializeUsingXML(xercesc::DOMElement *element);
68 void setForceDeflectionFunction(
Function<
double(
double)> * sF_) {
74 void setForceVelocityFunction(
Function<
double(
double)> * sdF_) {
function describing a nonlinear relationship between the input deflection / relative velocity and the...
Definition: nonlinear_spring_damper_force.h:32
Function< double(double)> * sF
deflection depending force function
Definition: nonlinear_spring_damper_force.h:85
void init(Element::InitStage stage)
plots time series header
Definition: nonlinear_spring_damper_force.h:60
InitStage
The stages of the initialization.
Definition: element.h:97
Definition: planar_contour.h:31
Function()
Definition: function.h:53
virtual void init(InitStage stage)
plots time series header
Definition: element.cc:70
Function< double(double)> * sdF
relative velocity depending force function
Definition: nonlinear_spring_damper_force.h:90
void setName(const std::string &str)
Definition: element.h:163
~NonlinearSpringDamperForce()
destructor
Definition: nonlinear_spring_damper_force.h:42
NonlinearSpringDamperForce(Function< double(double)> *sF_, Function< double(double)> *sdF_)
constructor
Definition: nonlinear_spring_damper_force.h:52
NonlinearSpringDamperForce()
constructor
Definition: nonlinear_spring_damper_force.h:37