#include <HuntCrossleyForce.h>
Public Member Functions | |
HuntCrossleyForce (GeneralForceSubsystem &forces, GeneralContactSubsystem &contacts, ContactSetIndex contactSet) | |
Create a Hunt-Crossley contact model. | |
void | setBodyParameters (int bodyIndex, Real stiffness, Real dissipation, Real staticFriction, Real dynamicFriction, Real viscousFriction) |
Real | getTransitionVelocity () const |
void | setTransitionVelocity (Real v) |
SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS (HuntCrossleyForce, HuntCrossleyForceImpl, Force) |
HuntCrossleyForce | ( | GeneralForceSubsystem & | forces, | |
GeneralContactSubsystem & | contacts, | |||
ContactSetIndex | contactSet | |||
) |
Create a Hunt-Crossley contact model.
contacts | the subsystem to which this contact model should be applied | |
contactSet | the index of the contact set to which this contact model will be applied |
void setBodyParameters | ( | int | bodyIndex, | |
Real | stiffness, | |||
Real | dissipation, | |||
Real | staticFriction, | |||
Real | dynamicFriction, | |||
Real | viscousFriction | |||
) |
Real getTransitionVelocity | ( | ) | const |
void setTransitionVelocity | ( | Real | v | ) |
SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS | ( | HuntCrossleyForce | , | |
HuntCrossleyForceImpl | , | |||
Force | ||||
) |