MBSim

Project Page
Public Member Functions | Protected Attributes
MBSim::NonlinearSpringDamperForce Class Reference

function describing a nonlinear relationship between the input relative distance / velocity and the output for a spring More...

#include <kinetic_functions.h>

Inheritance diagram for MBSim::NonlinearSpringDamperForce:
MBSim::Function< double(double, double)> Function

List of all members.

Public Member Functions

 NonlinearSpringDamperForce ()
 constructor
 NonlinearSpringDamperForce (Function< double(double)> *gForceFun_, Function< double(double)> *gdForceFun_)
 constructor
virtual double operator() (const double &g, const double &gd)
void initializeUsingXML (xercesc::DOMElement *element)
void init (Element::InitStage stage)
 plots time series header
void setDistanceFunction (Function< double(double)> *gForceFun_)
void setVelocityFunction (Function< double(double)> *gdForceFun_)

Protected Attributes

Function< double(double)> * gForceFun
 distance depending force function
Function< double(double)> * gdForceFun
 relative velocity depending force function

Detailed Description

function describing a nonlinear 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:
delete function pointers

Constructor & Destructor Documentation

MBSim::NonlinearSpringDamperForce::NonlinearSpringDamperForce ( Function< double(double)> *  gForceFun_,
Function< double(double)> *  gdForceFun_ 
) [inline]

constructor

Parameters:
distancedepending force function
relativevelocity depending force function

Member Function Documentation

plots time series header

Parameters:
invocingparent class

Reimplemented from MBSim::Element.


The documentation for this class was generated from the following file: