Simbody
Public Member Functions

SimTK::Force::MobilityLinearDamper Class Reference

A linear damper on a mobility coordinate. More...

#include <Force.h>

Inheritance diagram for SimTK::Force::MobilityLinearDamper:

List of all members.

Public Member Functions

 MobilityLinearDamper (GeneralForceSubsystem &forces, const MobilizedBody &body, int coordinate, Real damping)
 Create a MobilityLinearDamper.
 SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS (MobilityLinearDamper, MobilityLinearDamperImpl, Force)

Detailed Description

A linear damper on a mobility coordinate.

The damping constant c is provided, with the generated force being -c*u where u is the mobility's generalize speed. This is meaningful on any mobility, since all our generalized speeds have physical meaning. This is not a potential force and hence does not contribute to potential energy.


Constructor & Destructor Documentation

SimTK::Force::MobilityLinearDamper::MobilityLinearDamper ( GeneralForceSubsystem forces,
const MobilizedBody body,
int  coordinate,
Real  damping 
)

Create a MobilityLinearDamper.

Parameters:
forcesthe subsystem to which this force should be added
bodythe body to which the force should be applied
coordinatethe index of the coordinate in the body's u vector to which the force should be applied
dampingthe damping constant

Member Function Documentation

SimTK::Force::MobilityLinearDamper::SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS ( MobilityLinearDamper  ,
MobilityLinearDamperImpl  ,
Force   
)

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines