public class Hill3ElemMuscleRigidTendon extends AxialMaterial
Modifier and Type | Field and Description |
---|---|
static CubicHermiteSpline1d |
activForceLengthCurve |
static double |
DEFAULT_DAMPING |
static double |
DEFAULT_FORCE_SCALING |
static double |
DEFAULT_MAX_FORCE |
static double |
DEFAULT_OPT_FIBRE_LENGTH |
static double |
DEFAULT_PENNATION_ANGLE |
static double |
DEFAULT_TENDON_SLACK_LENGTH |
static PropertyList |
myProps |
static CubicHermiteSpline1d |
passivForceLengthCurve |
Constructor and Description |
---|
Hill3ElemMuscleRigidTendon() |
Hill3ElemMuscleRigidTendon(double maxIsoForce,
double optimalFibreLen,
double tendonSlackLen,
double penAngle) |
Modifier and Type | Method and Description |
---|---|
Hill3ElemMuscleRigidTendon |
clone()
Returns a clone of this composite property.
|
double |
computeDFdl(double l,
double ldot,
double l0,
double excitation)
Computes and returns the derivative of the axial spring tension
with respect to the length.
|
double |
computeDFdldot(double l,
double ldot,
double l0,
double excitation)
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 excitation)
Computes and returns the axial spring tension, as a function of
length, length time derivative, rest length, and excitation.
|
boolean |
equals(AxialMaterial mat) |
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
double |
getDamping() |
PropertyMode |
getDampingMode() |
double |
getForceScaling() |
PropertyMode |
getForceScalingMode() |
double |
getMaxForce() |
PropertyMode |
getMaxForceMode() |
double |
getOptFibreLength() |
PropertyMode |
getOptFibreLengthMode() |
double |
getPennationAngle() |
PropertyMode |
getPennationAngleMode() |
double |
getTendonSlackLength() |
PropertyMode |
getTendonSlackLengthMode() |
boolean |
isDFdldotZero()
Returns true if computeDFdldot() always returns zero.
|
void |
scaleDistance(double s)
Scales all distance coordinates.
|
void |
scaleMass(double s)
Scales all mass units.
|
void |
setDamping(double d) |
void |
setDampingMode(PropertyMode mode) |
void |
setForceScaling(double fScaling) |
void |
setForceScalingMode(PropertyMode mode) |
void |
setMaxForce(double maxF) |
void |
setMaxForceMode(PropertyMode mode) |
void |
setOptFibreLength(double lopt) |
void |
setOptFibreLengthMode(PropertyMode mode) |
void |
setPennationAngle(double maxF) |
void |
setPennationAngleMode(PropertyMode mode) |
void |
setTendonSlackLength(double maxF) |
void |
setTendonSlackLengthMode(PropertyMode mode) |
equals, getSubClasses
advanceState, createStateObject, getProperty, getPropertyHost, getPropertyInfo, hasProperty, hasState, hasSymmetricTangent, isWritable, postscan, scan, setPropertyHost, setPropertyInfo, symmetryOrStateChanged, updateMaterial, write, writeItems
public static double DEFAULT_OPT_FIBRE_LENGTH
public static double DEFAULT_MAX_FORCE
public static double DEFAULT_TENDON_SLACK_LENGTH
public static double DEFAULT_PENNATION_ANGLE
public static double DEFAULT_DAMPING
public static double DEFAULT_FORCE_SCALING
public static CubicHermiteSpline1d activForceLengthCurve
public static CubicHermiteSpline1d passivForceLengthCurve
public static PropertyList myProps
public Hill3ElemMuscleRigidTendon()
public Hill3ElemMuscleRigidTendon(double maxIsoForce, double optimalFibreLen, double tendonSlackLen, double penAngle)
public PropertyList getAllPropertyInfo()
HasProperties
getAllPropertyInfo
in interface HasProperties
getAllPropertyInfo
in class MaterialBase
public double getOptFibreLength()
public void setOptFibreLength(double lopt)
public PropertyMode getOptFibreLengthMode()
public void setOptFibreLengthMode(PropertyMode mode)
public double getMaxForce()
public void setMaxForce(double maxF)
public PropertyMode getMaxForceMode()
public void setMaxForceMode(PropertyMode mode)
public double getTendonSlackLength()
public void setTendonSlackLength(double maxF)
public PropertyMode getTendonSlackLengthMode()
public void setTendonSlackLengthMode(PropertyMode mode)
public double getPennationAngle()
public void setPennationAngle(double maxF)
public PropertyMode getPennationAngleMode()
public void setPennationAngleMode(PropertyMode mode)
public double getDamping()
public void setDamping(double d)
public PropertyMode getDampingMode()
public void setDampingMode(PropertyMode mode)
public double getForceScaling()
public void setForceScaling(double fScaling)
public PropertyMode getForceScalingMode()
public void setForceScalingMode(PropertyMode mode)
public double computeF(double l, double ldot, double l0, double excitation)
AxialMaterial
computeF
in class AxialMaterial
l
- spring lengthldot
- spring length time derivativel0
- spring rest lengthexcitation
- excitation value (varying from 0 to 1)public double computeDFdl(double l, double ldot, double l0, double excitation)
AxialMaterial
computeDFdl
in class AxialMaterial
l
- spring lengthldot
- spring length time derivativel0
- spring rest lengthexcitation
- excitation value (varying from 0 to 1)public double computeDFdldot(double l, double ldot, double l0, double excitation)
AxialMaterial
computeDFdldot
in class AxialMaterial
l
- spring lengthldot
- spring length time derivativel0
- spring rest lengthexcitation
- excitation value (varying from 0 to 1)public boolean isDFdldotZero()
AxialMaterial
isDFdldotZero
in class AxialMaterial
public boolean equals(AxialMaterial mat)
equals
in class AxialMaterial
public Hill3ElemMuscleRigidTendon clone()
CompositeProperty
clone
in interface CompositeProperty
clone
in interface Clonable
clone
in class AxialMaterial
public void scaleDistance(double s)
ScalableUnits
scaleDistance
in interface ScalableUnits
scaleDistance
in class MaterialBase
s
- scaling factorpublic void scaleMass(double s)
ScalableUnits
scaleMass
in interface ScalableUnits
scaleMass
in class MaterialBase
s
- scaling factor