TwoPointLinearDamper Class Reference

A force which resists changes in the distance between two points, acting along the line between those points. More...

#include <Force.h>

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

List of all members.

Public Member Functions

 TwoPointLinearDamper (GeneralForceSubsystem &forces, const MobilizedBody &body1, const Vec3 &station1, const MobilizedBody &body2, const Vec3 &station2, Real damping)
 Create a TwoPointLinearDamper.
 SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS (TwoPointLinearDamper, TwoPointLinearDamperImpl, Force)

Detailed Description

A force which resists changes in the distance between two points, acting along the line between those points.

The points are specified as a station on each of two bodies. A damping constant c >= 0 is given. If the relative (scalar) velocity between the points is v, then we apply a force of magnitude f=c*|v| to each point in a direction which opposes their separation. This is not a potential force and thus does not contribute to the potential energy calculation. It is an error if the two points become coincident, since we are unable to determine a direction for the force in that case.


Constructor & Destructor Documentation

TwoPointLinearDamper ( GeneralForceSubsystem forces,
const MobilizedBody body1,
const Vec3 station1,
const MobilizedBody body2,
const Vec3 station2,
Real  damping 
)

Create a TwoPointLinearDamper.

Parameters:
forces the subsystem to which this force should be added
body1 the first body to which the force should be applied
station1 the location on the first body at which the force should be applied
body2 the second body to which the force should be applied
station2 the location on the second body at which the force should be applied
damping the damping constant

Member Function Documentation

SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS ( TwoPointLinearDamper  ,
TwoPointLinearDamperImpl  ,
Force   
)

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

Generated on Thu Aug 12 16:38:00 2010 for SimTKcore by  doxygen 1.6.1