OpenSim::HuntCrossleyForce Class Reference
This force subclass implements a Hunt-Crossley contact model.
More...
#include <HuntCrossleyForce.h>
List of all members.
Detailed Description
This force subclass implements a Hunt-Crossley contact model.
It uses Hertz contact theory to model the interactions between a set of ContactSpheres and ContactHalfSpaces.
- Author:
- Peter Eastman
Constructor & Destructor Documentation
OpenSim::HuntCrossleyForce::HuntCrossleyForce |
( |
|
) |
|
OpenSim::HuntCrossleyForce::HuntCrossleyForce |
( |
ContactParameters * |
params |
) |
|
OpenSim::HuntCrossleyForce::~ContactParametersSet |
( |
void |
|
) |
|
Member Function Documentation
void OpenSim::HuntCrossleyForce::addContactParameters |
( |
ContactParameters * |
params |
) |
|
void OpenSim::HuntCrossleyForce::addGeometry |
( |
const std::string & |
name |
) |
|
OpenSim::HuntCrossleyForce::ContactParameters |
( |
double |
stiffness, |
|
|
double |
dissipation, |
|
|
double |
staticFriction, |
|
|
double |
dynamicFriction, |
|
|
double |
viscousFriction | |
|
) |
| | |
OpenSim::HuntCrossleyForce::ContactParameters |
( |
const ContactParameters & |
copy |
) |
|
OpenSim::HuntCrossleyForce::ContactParameters |
( |
|
) |
|
OpenSim::HuntCrossleyForce::ContactParametersSet |
( |
const ContactParametersSet & |
copy |
) |
|
OpenSim::HuntCrossleyForce::ContactParametersSet |
( |
|
) |
|
Object* OpenSim::HuntCrossleyForce::copy |
( |
|
) |
const [virtual] |
Construct and return a copy of this object.
The object is allocated using the new operator, so the caller is responsible for deleting the returned object.
- Returns:
- Copy of this object.
Implements OpenSim::Force.
Object* OpenSim::HuntCrossleyForce::copy |
( |
|
) |
const [virtual] |
Construct and return a copy of this object.
The object is allocated using the new operator, so the caller is responsible for deleting the returned object.
- Returns:
- Copy of this object.
Implements OpenSim::Force.
Object * OpenSim::HuntCrossleyForce::copy |
( |
|
) |
const [virtual] |
Copy this force and return a pointer to the copy.
The copy constructor for this class is used.
- Returns:
- Pointer to a copy of this Force.
Implements OpenSim::Force.
void OpenSim::HuntCrossleyForce::copyData |
( |
const ContactParameters & |
copy |
) |
|
void OpenSim::HuntCrossleyForce::createSystem |
( |
SimTK::MultibodySystem & |
system |
) |
const [protected, virtual] |
const HuntCrossleyForce::ContactParametersSet & OpenSim::HuntCrossleyForce::getContactParametersSet |
( |
|
) |
|
double OpenSim::HuntCrossleyForce::getDissipation |
( |
|
) |
const |
double OpenSim::HuntCrossleyForce::getDynamicFriction |
( |
|
) |
const |
const Array<std::string>& OpenSim::HuntCrossleyForce::getGeometry |
( |
|
) |
const |
OpenSim::Array< std::string > OpenSim::HuntCrossleyForce::getRecordLabels |
( |
|
) |
const [virtual] |
Provide name(s) of the quantities (column labels) of the force value(s) to be reported.
Provide names of the quantities (column labels) of the force value(s) reported.
Reimplemented from OpenSim::Force.
OpenSim::Array< double > OpenSim::HuntCrossleyForce::getRecordValues |
( |
const SimTK::State & |
state |
) |
const [virtual] |
Provide the value(s) to be reported that correspond to the labels.
Reimplemented from OpenSim::Force.
double OpenSim::HuntCrossleyForce::getStaticFriction |
( |
|
) |
const |
double OpenSim::HuntCrossleyForce::getStiffness |
( |
|
) |
const |
double OpenSim::HuntCrossleyForce::getTransitionVelocity |
( |
|
) |
const |
Get the transition velocity for switching between static and dynamic friction.
double OpenSim::HuntCrossleyForce::getViscousFriction |
( |
|
) |
const |
ContactParametersSet& OpenSim::HuntCrossleyForce::operator= |
( |
const ContactParametersSet & |
copy |
) |
|
void OpenSim::HuntCrossleyForce::setDissipation |
( |
double |
dissipation |
) |
|
void OpenSim::HuntCrossleyForce::setDynamicFriction |
( |
double |
friction |
) |
|
void OpenSim::HuntCrossleyForce::setStaticFriction |
( |
double |
friction |
) |
|
void OpenSim::HuntCrossleyForce::setStiffness |
( |
double |
stiffness |
) |
|
void OpenSim::HuntCrossleyForce::setTransitionVelocity |
( |
double |
velocity |
) |
|
Set the transition velocity for switching between static and dynamic friction.
void OpenSim::HuntCrossleyForce::setViscousFriction |
( |
double |
friction |
) |
|
HuntCrossleyForce::ContactParametersSet & OpenSim::HuntCrossleyForce::updContactParametersSet |
( |
|
) |
|
Array<std::string>& OpenSim::HuntCrossleyForce::updGeometry |
( |
|
) |
|
Member Data Documentation
The documentation for this class was generated from the following files:
- OpenSim/Simulation/Model/HuntCrossleyForce.h
- OpenSim/Simulation/Model/HuntCrossleyForce.cpp