Simbody
|
A general energy "drain" on the system. More...
#include <Force.h>
Public Member Functions | |
GlobalDamper (GeneralForceSubsystem &forces, const SimbodyMatterSubsystem &matter, Real damping) | |
SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS (GlobalDamper, GlobalDamperImpl, Force) |
A general energy "drain" on the system.
This is done by effectively adding a damper to every generalized speed (mobility) in the system. Each generalized speed u_i feels a force -dampingFactor*u_i. This usually is not physically meaningful, but it can be useful in some circumstances just to drain energy out of the model when the specific energy-draining mechanism is not important. You can have more than one of these in which case the dampingFactors are added. No individual dampingFactor is allowed to be negative. This is not a potential force and hence does not contribute to potential energy.
SimTK::Force::GlobalDamper::GlobalDamper | ( | GeneralForceSubsystem & | forces, |
const SimbodyMatterSubsystem & | matter, | ||
Real | damping | ||
) |
SimTK::Force::GlobalDamper::SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS | ( | GlobalDamper | , |
GlobalDamperImpl | , | ||
Force | |||
) |