MBSim

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

basic unilateral force law on velocity level for constraint description More...

#include <constitutive_laws.h>

Inheritance diagram for MBSim::UnilateralNewtonImpact:
MBSim::GeneralizedImpactLaw

List of all members.

Public Member Functions

 UnilateralNewtonImpact ()
 constructor
 UnilateralNewtonImpact (double epsilon_)
 constructor
 UnilateralNewtonImpact (double epsilon_, double gd_limit_)
 constructor
virtual ~UnilateralNewtonImpact ()
 destructor
virtual double project (double la, double gdn, double gda, double r, double laMin=0)
virtual fmatvec::Vec diff (double la, double gdn, double gda, double r, double laMin=0)
virtual double solve (double G, double gdn, double gda)
virtual bool isFulfilled (double la, double gdn, double gda, double tolla, double tolgd, double laMin=0)
virtual void initializeUsingXML (MBXMLUtils::TiXmlElement *element)
virtual MBXMLUtils::TiXmlElement * writeXMLFile (MBXMLUtils::TiXmlNode *parent)
virtual std::string getType () const

Protected Attributes

double epsilon
double gd_limit

Detailed Description

basic unilateral force law on velocity level for constraint description

Author:
Martin Foerg
Date:
2009-07-29 some comments (Thorsten Schindler)
2010-08-18 epsilon is set to zero in a smooth way and elastic contribution only for negative gd

Member Function Documentation

virtual std::string MBSim::UnilateralNewtonImpact::getType ( ) const [inline, virtual]
Returns:
std::string representation

Reimplemented from MBSim::GeneralizedImpactLaw.


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