MBSim

Project Page
Public Member Functions
MBSim::RegularizedUnilateralConstraint Class Reference

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

#include <constitutive_laws.h>

Inheritance diagram for MBSim::RegularizedUnilateralConstraint:
MBSim::GeneralizedForceLaw

List of all members.

Public Member Functions

 RegularizedUnilateralConstraint ()
 constructor
 RegularizedUnilateralConstraint (fmatvec::Function< double(double, double)> *forceFunc_)
virtual ~RegularizedUnilateralConstraint ()
 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 > > &contacts)
 computes the normal forces for smooth constitutive law on every contact point
virtual void initializeUsingXML (xercesc::DOMElement *element)
 initialize the force law using XML

Detailed Description

basic regularized unilateral 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::RegularizedUnilateralConstraint::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 void MBSim::RegularizedUnilateralConstraint::initializeUsingXML ( xercesc::DOMElement *  element) [virtual]

initialize the force law using XML

Parameters:
XMLelement

Reimplemented from MBSim::GeneralizedForceLaw.

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

Reimplemented from MBSim::GeneralizedForceLaw.

virtual bool MBSim::RegularizedUnilateralConstraint::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: