OpenSim::ForceAdapter Class Reference
This acts as an adapter to allow a CustomForce or CustomActuator to be used as a SimTK::Force.
More...
#include <ForceAdapter.h>
List of all members.
Detailed Description
This acts as an adapter to allow a CustomForce or CustomActuator to be used as a SimTK::Force.
- Authors:
- Peter Eastman
Constructor & Destructor Documentation
Member Function Documentation
void ForceAdapter::calcForce |
( |
const SimTK::State & |
state, |
|
|
SimTK::Vector_< SimTK::SpatialVec > & |
bodyForces, |
|
|
SimTK::Vector_< SimTK::Vec3 > & |
particleForces, |
|
|
SimTK::Vector & |
mobilityForces | |
|
) |
| | const |
SimTK::Real ForceAdapter::calcPotentialEnergy |
( |
const SimTK::State & |
state |
) |
const |
The documentation for this class was generated from the following files:
- OpenSim/Simulation/Model/ForceAdapter.h
- OpenSim/Simulation/Model/ForceAdapter.cpp