Force::MobilityConstantForce Class Reference

#include <Force.h>

Inheritance diagram for Force::MobilityConstantForce:

Force PIMPLHandle

List of all members.


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.

Public Member Functions

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


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 Fri Sep 26 07:44:32 2008 for SimTKcore by  doxygen 1.5.6