#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) |
Reimplemented from Subsystem::Guts.
virtual ~Guts | ( | ) | [inline, virtual] |
Reimplemented from Subsystem::Guts.
const MultibodySystem& getMultibodySystem | ( | ) | const [inline] |
References Subsystem::Guts::getSystem().
virtual Real 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_DOWNCAST | ( | ForceSubsystem::Guts | , | |
Subsystem::Guts | ||||
) |