Simbody
|
Public declaration of internals for ForceSubsystem extension. More...
#include <ForceSubsystemGuts.h>
Public Member Functions | |
Guts (const String &name, const String &version) | |
virtual | ~Guts () |
const MultibodySystem & | getMultibodySystem () const |
virtual Real | calcPotentialEnergy (const State &state) const =0 |
Get this subsystem's contribution to the potential energy. | |
SimTK_DOWNCAST (ForceSubsystem::Guts, Subsystem::Guts) |
Public declaration of internals for ForceSubsystem extension.
Reimplemented from SimTK::Subsystem::Guts.
virtual SimTK::ForceSubsystem::Guts::~Guts | ( | ) | [inline, virtual] |
Reimplemented from SimTK::Subsystem::Guts.
const MultibodySystem& SimTK::ForceSubsystem::Guts::getMultibodySystem | ( | ) | const [inline] |
virtual Real SimTK::ForceSubsystem::Guts::calcPotentialEnergy | ( | const State & | state | ) | const [pure virtual] |
Get this subsystem's contribution to the potential energy.
The state must be at Dynamics stage or later.
SimTK::ForceSubsystem::Guts::SimTK_DOWNCAST | ( | ForceSubsystem::Guts | , |
Subsystem::Guts | |||
) |