This acts as an adapter to allow a Force or Actuator to be used as a SimTK::Force.
More...
#include <ForceAdapter.h>
|
| ForceAdapter (const Force &force) |
|
void | calcForce (const SimTK::State &state, SimTK::Vector_< SimTK::SpatialVec > &bodyForces, SimTK::Vector_< SimTK::Vec3 > &particleForces, SimTK::Vector &mobilityForces) const |
|
SimTK::Real | calcPotentialEnergy (const SimTK::State &state) const |
|
This acts as an adapter to allow a Force or Actuator to be used as a SimTK::Force.
- Authors
- Peter Eastman
OpenSim::ForceAdapter::ForceAdapter |
( |
const Force & |
force) | |
|
void OpenSim::ForceAdapter::calcForce |
( |
const SimTK::State & |
state, |
|
|
SimTK::Vector_< SimTK::SpatialVec > & |
bodyForces, |
|
|
SimTK::Vector_< SimTK::Vec3 > & |
particleForces, |
|
|
SimTK::Vector & |
mobilityForces |
|
) |
| const |
SimTK::Real OpenSim::ForceAdapter::calcPotentialEnergy |
( |
const SimTK::State & |
state) | |
const |
The documentation for this class was generated from the following file:
- /home/fitze/repos/opensim/Branches/OpenSim32ForDoxygen/OpenSim/Simulation/Model/ForceAdapter.h