Simbody
|
The job of the MultibodySystem class is to coordinate the activities of various subsystems which can be part of a multibody system. More...
#include <MultibodySystem.h>
The job of the MultibodySystem class is to coordinate the activities of various subsystems which can be part of a multibody system.
We insist on having exactly one MatterSubsystem, and we would like also to have:
SimTK::MultibodySystem::MultibodySystem | ( | ) |
SimTK::MultibodySystem::MultibodySystem | ( | SimbodyMatterSubsystem & | m | ) | [explicit] |
SimTK::MultibodySystem::MultibodySystem | ( | MultibodySystemRep * | ) | [explicit, protected] |
int SimTK::MultibodySystem::addForceSubsystem | ( | ForceSubsystem & | ) |
int SimTK::MultibodySystem::setMatterSubsystem | ( | SimbodyMatterSubsystem & | ) |
const SimbodyMatterSubsystem& SimTK::MultibodySystem::getMatterSubsystem | ( | ) | const |
SimbodyMatterSubsystem& SimTK::MultibodySystem::updMatterSubsystem | ( | ) |
bool SimTK::MultibodySystem::hasMatterSubsystem | ( | ) | const |
int SimTK::MultibodySystem::setDecorationSubsystem | ( | DecorationSubsystem & | ) |
const DecorationSubsystem& SimTK::MultibodySystem::getDecorationSubsystem | ( | ) | const |
DecorationSubsystem& SimTK::MultibodySystem::updDecorationSubsystem | ( | ) |
bool SimTK::MultibodySystem::hasDecorationSubsystem | ( | ) | const |
int SimTK::MultibodySystem::setContactSubsystem | ( | GeneralContactSubsystem & | ) |
const GeneralContactSubsystem& SimTK::MultibodySystem::getContactSubsystem | ( | ) | const |
GeneralContactSubsystem& SimTK::MultibodySystem::updContactSubsystem | ( | ) |
bool SimTK::MultibodySystem::hasContactSubsystem | ( | ) | const |
const Real SimTK::MultibodySystem::calcPotentialEnergy | ( | const State & | ) | const |
Calculate the total potential energy of the system.
The state must be at Dynamics stage or later.
const Real SimTK::MultibodySystem::calcKineticEnergy | ( | const State & | ) | const |
Calculate the total kinetic energy of the system.
The state must be at Velocity stage or later.
Real SimTK::MultibodySystem::calcEnergy | ( | const State & | s | ) | const [inline] |
Calculate the total energy of the system.
The state must be at Dynamics stage or later.
const Vector_<SpatialVec>& SimTK::MultibodySystem::getRigidBodyForces | ( | const State & | , |
Stage | |||
) | const |
Vector_<SpatialVec>& SimTK::MultibodySystem::updRigidBodyForces | ( | const State & | , |
Stage | |||
) | const |
SimTK::MultibodySystem::SimTK_PIMPL_DOWNCAST | ( | MultibodySystem | , |
System | |||
) |
class MultibodySystemRep& SimTK::MultibodySystem::updRep | ( | ) |
const MultibodySystemRep& SimTK::MultibodySystem::getRep | ( | ) | const |