MBSim

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

function describing a linear regularized relationship between the input relative velocity and the output for Coulomb friction More...

#include <function.h>

Inheritance diagram for MBSim::LinearRegularizedCoulombFriction:
MBSim::Function2< fmatvec::Vec, fmatvec::Vec, double > MBSim::Function

List of all members.

Public Member Functions

 LinearRegularizedCoulombFriction ()
 constructor
 LinearRegularizedCoulombFriction (double mu_, double gdLim_=0.01)
 constructor
virtual fmatvec::Vec operator() (const fmatvec::Vec &gd, const double &laN, const void *=NULL)
virtual void initializeUsingXML (MBXMLUtils::TiXmlElement *element)
 initialize function with XML code
void setFrictionCoefficient (double mu_)
void setMarginalVelocity (double gdLim_)

Protected Attributes

double mu
 friction coefficient, border with respect to the relative velocity for the linear regularized increase of the friction force
double gdLim

Detailed Description

function describing a linear regularized relationship between the input relative velocity and the output for Coulomb friction

Author:
Martin Foerg
Date:
2009-08-31 some comments (Thorsten Schindler)
2010-01-09 beauty correction (Thorsten Schindler)
Todo:
put in function_library TODO

Constructor & Destructor Documentation

MBSim::LinearRegularizedCoulombFriction::LinearRegularizedCoulombFriction ( double  mu_,
double  gdLim_ = 0.01 
) [inline]

constructor

Parameters:
frictioncoefficient
borderwith respect to the relative velocity for the linear regularized increase of the friction force

Member Function Documentation

virtual void MBSim::LinearRegularizedCoulombFriction::initializeUsingXML ( MBXMLUtils::TiXmlElement *  element) [virtual]

initialize function with XML code

Parameters:
XMLelement

Reimplemented from MBSim::Function2< fmatvec::Vec, fmatvec::Vec, double >.

virtual fmatvec::Vec MBSim::LinearRegularizedCoulombFriction::operator() ( const fmatvec::Vec &  p1,
const double &  p2,
const void *  = NULL 
) [virtual]
Returns:
return value of function
Parameters:
argumentof function
optionalparameter class

Implements MBSim::Function2< fmatvec::Vec, fmatvec::Vec, double >.


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