Solve for the effective moment arms at all degrees-of-freedom due to one or more point forces. More...
#include <MomentArmSolver.h>
Public Member Functions | |
virtual | ~MomentArmSolver () |
MomentArmSolver (const Model &model) | |
An implementation of the MomentArmSolver. | |
double | solve (const SimTK::State &s, const Coordinate &aCoord, const Array< PointForceDirection * > &pfds) |
Solve for the effective moment-arm about the specified coordinate based on the geometric distribution of forces described by the list of PointForceDirections. |
Solve for the effective moment arms at all degrees-of-freedom due to one or more point forces.
This may result from the underlying geometry of a Force or Actuator with a complex path (like ligaments and muscles) but this solver is only concerned with the set of points and unit forces that maps a scalar force value (like tension) to the resulting generalized force.
virtual OpenSim::MomentArmSolver::~MomentArmSolver | ( | ) | [inline, virtual] |
OpenSim::MomentArmSolver::MomentArmSolver | ( | const Model & | model | ) |
An implementation of the MomentArmSolver.
double OpenSim::MomentArmSolver::solve | ( | const SimTK::State & | s, | |
const Coordinate & | aCoord, | |||
const Array< PointForceDirection * > & | pfds | |||
) |
Solve for the effective moment-arm about the specified coordinate based on the geometric distribution of forces described by the list of PointForceDirections.