MBSim

Project Page
Public Member Functions
MBSim::RegularizedBilateralConstraint Class Reference

basic regularized bilateral force law on acceleration level for constraint description More...

#include <constitutive_laws.h>

Inheritance diagram for MBSim::RegularizedBilateralConstraint:
MBSim::GeneralizedForceLaw

List of all members.

Public Member Functions

 RegularizedBilateralConstraint ()
 constructor
 RegularizedBilateralConstraint (Function2< double, double, double > *forceFunc_)
virtual ~RegularizedBilateralConstraint ()
 destructor
virtual bool isActive (double g, double gTol)
virtual bool remainsActive (double s, double sTol)
virtual bool isSetValued () const
virtual void computeSmoothForces (std::vector< std::vector< SingleContact > > &contact)
 computes the normal forces for smooth constitutive law on every contact point
virtual void initializeUsingXML (MBXMLUtils::TiXmlElement *element)
 initialize the force law using XML
virtual std::string getType () const

Detailed Description

basic regularized bilateral force law on acceleration level for constraint description

Author:
Martin Foerg
Date:
2009-07-29 some comments (Thorsten Schindler)

Member Function Documentation

virtual void MBSim::RegularizedBilateralConstraint::computeSmoothForces ( std::vector< std::vector< SingleContact > > &  contact) [virtual]

computes the normal forces for smooth constitutive law on every contact point

Parameters:
contactsvector of contacts that are part of the contact law

Reimplemented from MBSim::GeneralizedForceLaw.

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

Reimplemented from MBSim::GeneralizedForceLaw.

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

initialize the force law using XML

Parameters:
XMLelement

Reimplemented from MBSim::GeneralizedForceLaw.

virtual bool MBSim::RegularizedBilateralConstraint::isActive ( double  g,
double  gTol 
) [inline, virtual]
Parameters:
relativedistance
tolerance
Returns:
flag, if force law is active

Reimplemented from MBSim::GeneralizedForceLaw.

virtual bool MBSim::RegularizedBilateralConstraint::isSetValued ( ) const [inline, virtual]
Returns:
flag if the force law is setvalued

Implements MBSim::GeneralizedForceLaw.


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