Simbody
3.4 (development)
|
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 SimbodyMatterSubsystem, and we would like also to have:
SimTK::MultibodySystem::MultibodySystem | ( | SimbodyMatterSubsystem & | m | ) | [explicit] |
SimTK::MultibodySystem::MultibodySystem | ( | MultibodySystemRep * | ) | [explicit, protected] |
const SimbodyMatterSubsystem& SimTK::MultibodySystem::getMatterSubsystem | ( | ) | const |
bool SimTK::MultibodySystem::hasMatterSubsystem | ( | ) | const |
const DecorationSubsystem& SimTK::MultibodySystem::getDecorationSubsystem | ( | ) | const |
bool SimTK::MultibodySystem::hasDecorationSubsystem | ( | ) | const |
const GeneralContactSubsystem& SimTK::MultibodySystem::getContactSubsystem | ( | ) | const |
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 |
const Vector_<Vec3>& SimTK::MultibodySystem::getParticleForces | ( | const State & | , |
Stage | |||
) | const |
const Vector& SimTK::MultibodySystem::getMobilityForces | ( | const State & | , |
Stage | |||
) | const |
Vector_<SpatialVec>& SimTK::MultibodySystem::updRigidBodyForces | ( | const State & | , |
Stage | |||
) | const |
Vector_<Vec3>& SimTK::MultibodySystem::updParticleForces | ( | const State & | , |
Stage | |||
) | const |
Vector& SimTK::MultibodySystem::updMobilityForces | ( | const State & | , |
Stage | |||
) | const |
class MultibodySystemRep& SimTK::MultibodySystem::updRep | ( | ) |
const MultibodySystemRep& SimTK::MultibodySystem::getRep | ( | ) | const |