MBSim |
Project Page |
function describing a nonlinear relationship between the input relative distance / velocity and the output for a spring More...
#include <function.h>
Public Member Functions | |
| NonlinearSpringDamperForce () | |
| constructor | |
| NonlinearSpringDamperForce (Function1< fmatvec::Vec, double > *gForceFun_, Function1< fmatvec::Vec, double > *gdForceFun_) | |
| constructor | |
| virtual double | operator() (const double &g, const double &gd, const void *=NULL) |
| void | initializeUsingXML (TiXmlElement *element) |
| initialize function with XML code | |
| void | setParameters (Function1< fmatvec::Vec, double > *gForceFun_, Function1< fmatvec::Vec, double > *gdForceFun_) |
Public Member Functions inherited from MBSim::Function2< double, double, double > | |
| virtual | ~Function2 () |
| destructor | |
Protected Attributes | |
| Function1< fmatvec::Vec, double > * | gForceFun |
| distance depending force function | |
| Function1< fmatvec::Vec, double > * | gdForceFun |
| relative velocity depending force function | |
function describing a nonlinear relationship between the input relative distance / velocity and the output for a spring
|
inline |
constructor
| distance | depending force function |
| relative | velocity depending force function |
|
virtual |
initialize function with XML code
| XML | element |
Reimplemented from MBSim::Function2< double, double, double >.
|
inlinevirtual |
| argument | of function |
| optional | parameter class |
Implements MBSim::Function2< double, double, double >.
1.8.1.1