MobilityConstantForce Class Reference

A constant (scalar) "force" f applied to a mobility. More...

#include <Force.h>

Inheritance diagram for MobilityConstantForce:
Force PIMPLHandle< Force, ForceImpl, true >

List of all members.

Public Member Functions

 MobilityConstantForce (GeneralForceSubsystem &forces, const MobilizedBody &body, int coordinate, Real force)
 Create a MobilityConstantForce.
 SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS (MobilityConstantForce, MobilityConstantForceImpl, Force)

Detailed Description

A constant (scalar) "force" f applied to a mobility.

The mobility here selects a generalized speed (u), not a generalized coordinate (q), and the meaning depends on the definition of the generalized speed. If that speed is a translation then this is a force; if a rotation then this is a torque. This force does not contribute to the potential energy, so adding it to a system will cause energy not to be conserved.


Constructor & Destructor Documentation

MobilityConstantForce ( GeneralForceSubsystem forces,
const MobilizedBody body,
int  coordinate,
Real  force 
)

Create a MobilityConstantForce.

Parameters:
forces the subsystem to which this force should be added
body the body to which the force should be applied
coordinate the index of the coordinate in the body's u vector to which the force should be applied
force the force to apply

Member Function Documentation

SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS ( MobilityConstantForce  ,
MobilityConstantForceImpl  ,
Force   
)

The documentation for this class was generated from the following file:

Generated on Wed Dec 30 11:05:14 2009 for SimTKcore by  doxygen 1.6.1