MBSim |
Project Page |
basic regularized unilateral force law on acceleration level for constraint description More...
#include <constitutive_laws.h>
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 | |
basic regularized unilateral force law on acceleration level for constraint description
| virtual void MBSim::RegularizedUnilateralConstraint::computeSmoothForces | ( | std::vector< std::vector< SingleContact > > & | contact | ) | [virtual] |
computes the normal forces for smooth constitutive law on every contact point
| contacts | vector 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
| XML | element |
Reimplemented from MBSim::GeneralizedForceLaw.
| virtual bool MBSim::RegularizedUnilateralConstraint::isActive | ( | double | g, |
| double | gTol | ||
| ) | [inline, virtual] |
| relative | distance |
| tolerance |
Reimplemented from MBSim::GeneralizedForceLaw.
| virtual bool MBSim::RegularizedUnilateralConstraint::isSetValued | ( | ) | const [inline, virtual] |
Implements MBSim::GeneralizedForceLaw.
1.8.0