1 #ifndef SimTK_SIMBODY_FORCE_MOBILITY_CONSTANT_FORCE_H_
2 #define SimTK_SIMBODY_FORCE_MOBILITY_CONSTANT_FORCE_H_
87 Real getDefaultForce()
const;
98 void setForce(
State& state, Real force)
const;
104 Real getForce(
const State& state)
const;
125 MobilityConstantForceImpl,
Force);
131 #endif // SimTK_SIMBODY_FORCE_MOBILITY_CONSTANT_FORCE_H_
This is the base class from which all Force element handle classes derive.
Definition: Force.h:50
MobilityConstantForce(GeneralForceSubsystem &forces, const MobilizedBody &mobod, Real defaultForce)
Alternate constructor signature for when the mobilizer has only a single generalized speed...
Definition: Force_MobilityConstantForce.h:61
This is the handle class for the hidden State implementation.
Definition: State.h:264
A constant generalized force f (a scalar) applied to a mobility.
Definition: Force_MobilityConstantForce.h:45
Includes internal headers providing declarations for the basic SimTK Core classes, including Simmatrix.
MobilityConstantForce()
Default constructor creates an empty handle.
Definition: Force_MobilityConstantForce.h:70
#define SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS(DERIVED, DERIVED_IMPL, PARENT)
Definition: PrivateImplementation.h:343
MobilityConstantForce(GeneralForceSubsystem &forces, const MobilizedBody &mobod, int whichU, Real defaultForce)
Deprecated: Alternate signature for backwards compatibilty – for safety you should prefer using the o...
Definition: Force_MobilityConstantForce.h:113
This is a concrete subsystem which can apply arbitrary forces to a MultibodySystem.
Definition: GeneralForceSubsystem.h:47
#define SimTK_SIMBODY_EXPORT
Definition: Simbody/include/simbody/internal/common.h:72
A MobilizedBody is Simbody's fundamental body-and-joint object used to parameterize a system's motion...
Definition: MobilizedBody.h:167
The Mobilizer associated with each MobilizedBody, once modeled, has a specific number of generalized ...