public class PeckAxialMuscle extends AxialMuscleMaterial
DEFAULT_DAMPING, DEFAULT_MAX_FORCE, DEFAULT_MAX_LENGTH, DEFAULT_OPT_LENGTH, DEFAULT_PASSIVE_FRACTION, DEFAULT_SCALING, DEFAULT_TENDON_RATIO, maxStretch, minStretch, myProps
Constructor and Description |
---|
PeckAxialMuscle() |
PeckAxialMuscle(double maxF,
double optL,
double maxL,
double tendonRatio,
double passiveFraction,
double damping) |
Modifier and Type | Method and Description |
---|---|
double |
computeDFdl(double l,
double ldot,
double l0,
double ex)
Computes and returns the derivative of the axial spring tension
with respect to the length.
|
double |
computeDFdldot(double l,
double ldot,
double l0,
double ex)
Computes and returns the derivative of the axial spring tension
with respect to the length time derivative.
|
double |
computeF(double l,
double ldot,
double l0,
double ex)
Computes and returns the axial spring tension, as a function of
length, length time derivative, rest length, and excitation.
|
boolean |
isDFdldotZero()
Returns true if computeDFdldot() always returns zero.
|
clone, equals, getAllPropertyInfo, getDamping, getDampingMode, getForceScaling, getForceScalingMode, getMaxForce, getMaxForceMode, getMaxLength, getMaxLengthMode, getOptLength, getOptLengthMode, getPassiveFraction, getPassiveFractionMode, getSubClasses, getTendonRatio, getTendonRatioMode, scaleDistance, scaleMass, setAxialMuscleMaterialProps, setDamping, setDampingMode, setForceScaling, setForceScalingMode, setMaxForce, setMaxForceMode, setMaxLength, setMaxLengthMode, setOptLength, setOptLengthMode, setPassiveFraction, setPassiveFractionMode, setTendonRatio, setTendonRatioMode
equals
advanceState, createStateObject, getProperty, getPropertyHost, getPropertyInfo, hasProperty, hasState, hasSymmetricTangent, isWritable, postscan, scan, setPropertyHost, setPropertyInfo, symmetryOrStateChanged, updateMaterial, write, writeItems
public PeckAxialMuscle()
public PeckAxialMuscle(double maxF, double optL, double maxL, double tendonRatio, double passiveFraction, double damping)
public double computeF(double l, double ldot, double l0, double ex)
AxialMaterial
computeF
in class AxialMaterial
l
- spring lengthldot
- spring length time derivativel0
- spring rest lengthex
- excitation value (varying from 0 to 1)public double computeDFdl(double l, double ldot, double l0, double ex)
AxialMaterial
computeDFdl
in class AxialMaterial
l
- spring lengthldot
- spring length time derivativel0
- spring rest lengthex
- excitation value (varying from 0 to 1)public double computeDFdldot(double l, double ldot, double l0, double ex)
AxialMaterial
computeDFdldot
in class AxialMaterial
l
- spring lengthldot
- spring length time derivativel0
- spring rest lengthex
- excitation value (varying from 0 to 1)public boolean isDFdldotZero()
AxialMaterial
isDFdldotZero
in class AxialMaterial