public class PaiAxialMuscle 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 |
---|
PaiAxialMuscle()
Constructs a new PaiAxialMuscle.
|
PaiAxialMuscle(double fmax,
double lopt,
double lmax,
double tratio,
double pfrac)
Deprecated.
For historical reasons, this constructor sets the deprecated
forceScaling property to 1000, thus scaling the effective value
of fmax . |
PaiAxialMuscle(double fmax,
double lopt,
double lmax,
double tratio,
double pfrac,
double damping)
Deprecated.
For historical reasons, this constructor sets the deprecated
forceScaling property to 1000, this scaling the effective values
of fmax and 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.
|
static PaiAxialMuscle |
create()
Creates a new PaiAxialMuscle with default values.
|
static PaiAxialMuscle |
create(double fmax,
double lopt,
double lmax,
double tratio,
double pfrac)
Creates a new PaiAxialMuscle with specified values.
|
static PaiAxialMuscle |
create(double fmax,
double lopt,
double lmax,
double tratio,
double pfrac,
double damping)
Creates a new PaiAxialMuscle with specified values.
|
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, normalizeForceScaling, scaleDistance, scaleMass, setAxialMuscleMaterialProps, setDamping, setDampingMode, setForceScaling, setForceScalingMode, setMaxForce, setMaxForceMode, setMaxLength, setMaxLengthMode, setOptLength, setOptLengthMode, setPassiveFraction, setPassiveFractionMode, setTendonRatio, setTendonRatioMode, toString
equals
advanceState, createStateObject, getProperty, getPropertyHost, getPropertyInfo, hasProperty, hasState, hasSymmetricTangent, isWritable, postscan, scan, setPropertyHost, setPropertyInfo, symmetryOrStateChanged, updateMaterial, write, writeItems
public PaiAxialMuscle()
Important: for historical reasons, this constructor sets the
deprecated forceScaling
property to 1000, thus scaling the
effective values of the maxForce
and damping
properties.
public PaiAxialMuscle(double fmax, double lopt, double lmax, double tratio, double pfrac)
forceScaling
property to 1000, thus scaling the effective value
of fmax
.fmax
- maximum contractile forcelopt
- length beyond which maximum active force is generatedlmax
- length at which maximum passive force is generatedtratio
- tendon to fibre length ratiopfrac
- passive fraction (of fmax
) that forms the maximum
passive forcepublic PaiAxialMuscle(double fmax, double lopt, double lmax, double tratio, double pfrac, double damping)
forceScaling
property to 1000, this scaling the effective values
of fmax
and damping
.fmax
- maximum contractile forcelopt
- length beyond which maximum active force is generatedlmax
- length at which maximum passive force is generatedtratio
- tendon to fibre length ratiopfrac
- passive fraction (of fmax
) that forms the maximum
passive forcedamping
- damping parameterpublic static PaiAxialMuscle create()
forceScaling
property is set to 1.public static PaiAxialMuscle create(double fmax, double lopt, double lmax, double tratio, double pfrac)
forceScaling
property is set to
1.fmax
- maximum contractile forcelopt
- length beyond which maximum active force is generatedlmax
- length at which maximum passive force is generatedtratio
- tendon to fibre length ratiopfrac
- passive fraction (of fmax
) that forms the maximum
passive forcepublic static PaiAxialMuscle create(double fmax, double lopt, double lmax, double tratio, double pfrac, double damping)
forceScaling
property is set to 1.fmax
- maximum contractile forcelopt
- length beyond which maximum active force is generatedlmax
- length at which maximum passive force is generatedtratio
- tendon to fibre length ratiopfrac
- passive fraction (of fmax
) that forms the maximum
passive forcedamping
- damping parameterpublic 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