OpenSim::ElasticFoundationForce Class Reference
This Force subclass implements an elastic foundation contact model.
More...
#include <ElasticFoundationForce.h>
List of all members.
Detailed Description
This Force subclass implements an elastic foundation contact model.
It places a spring at the center of each face of each ContactMesh it acts on. Those springs interact with all objects (both meshes and other objects) the mesh comes in contact with.
- Author:
- Peter Eastman
Constructor & Destructor Documentation
OpenSim::ElasticFoundationForce::ElasticFoundationForce |
( |
|
) |
|
OpenSim::ElasticFoundationForce::ElasticFoundationForce |
( |
ContactParameters * |
params |
) |
|
OpenSim::ElasticFoundationForce::~ContactParametersSet |
( |
void |
|
) |
|
Member Function Documentation
void OpenSim::ElasticFoundationForce::addContactParameters |
( |
ContactParameters * |
params |
) |
|
void OpenSim::ElasticFoundationForce::addGeometry |
( |
const std::string & |
name |
) |
|
OpenSim::ElasticFoundationForce::ContactParameters |
( |
double |
stiffness, |
|
|
double |
dissipation, |
|
|
double |
staticFriction, |
|
|
double |
dynamicFriction, |
|
|
double |
viscousFriction | |
|
) |
| | |
OpenSim::ElasticFoundationForce::ContactParameters |
( |
const ContactParameters & |
copy |
) |
|
OpenSim::ElasticFoundationForce::ContactParameters |
( |
|
) |
|
OpenSim::ElasticFoundationForce::ContactParametersSet |
( |
const ContactParametersSet & |
copy |
) |
|
OpenSim::ElasticFoundationForce::ContactParametersSet |
( |
|
) |
|
Object* OpenSim::ElasticFoundationForce::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.
Reimplemented from OpenSim::Object.
Object* OpenSim::ElasticFoundationForce::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.
Reimplemented from OpenSim::Object.
Object * OpenSim::ElasticFoundationForce::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.
Reimplemented from OpenSim::Object.
void OpenSim::ElasticFoundationForce::copyData |
( |
const ContactParameters & |
copy |
) |
|
void OpenSim::ElasticFoundationForce::createSystem |
( |
SimTK::MultibodySystem & |
system |
) |
const [virtual] |
const ElasticFoundationForce::ContactParametersSet & OpenSim::ElasticFoundationForce::getContactParametersSet |
( |
|
) |
|
double OpenSim::ElasticFoundationForce::getDissipation |
( |
|
) |
const |
double OpenSim::ElasticFoundationForce::getDynamicFriction |
( |
|
) |
const |
const Array<std::string>& OpenSim::ElasticFoundationForce::getGeometry |
( |
|
) |
const |
double OpenSim::ElasticFoundationForce::getStaticFriction |
( |
|
) |
const |
double OpenSim::ElasticFoundationForce::getStiffness |
( |
|
) |
const |
double OpenSim::ElasticFoundationForce::getTransitionVelocity |
( |
|
) |
const |
Get the transition velocity for switching between static and dynamic friction.
double OpenSim::ElasticFoundationForce::getViscousFriction |
( |
|
) |
const |
ContactParametersSet& OpenSim::ElasticFoundationForce::operator= |
( |
const ContactParametersSet & |
copy |
) |
|
void OpenSim::ElasticFoundationForce::setDissipation |
( |
double |
dissipation |
) |
|
void OpenSim::ElasticFoundationForce::setDynamicFriction |
( |
double |
friction |
) |
|
void OpenSim::ElasticFoundationForce::setStaticFriction |
( |
double |
friction |
) |
|
void OpenSim::ElasticFoundationForce::setStiffness |
( |
double |
stiffness |
) |
|
void OpenSim::ElasticFoundationForce::setTransitionVelocity |
( |
double |
velocity |
) |
|
Set the transition velocity for switching between static and dynamic friction.
void OpenSim::ElasticFoundationForce::setViscousFriction |
( |
double |
friction |
) |
|
ElasticFoundationForce::ContactParametersSet & OpenSim::ElasticFoundationForce::updContactParametersSet |
( |
|
) |
|
Array<std::string>& OpenSim::ElasticFoundationForce::updGeometry |
( |
|
) |
|
Member Data Documentation
The documentation for this class was generated from the following files:
- OpenSim/Simulation/Model/ElasticFoundationForce.h
- OpenSim/Simulation/Model/ElasticFoundationForce.cpp