public class SimpleAxialMuscle extends LinearAxialMaterial
| Modifier and Type | Field and Description |
|---|---|
static PropertyList |
myProps |
| Constructor and Description |
|---|
SimpleAxialMuscle() |
SimpleAxialMuscle(double stiffness,
double damping,
double fmax) |
| Modifier and Type | Method and Description |
|---|---|
SimpleAxialMuscle |
clone()
Returns a clone of this composite property.
|
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 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 ex)
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 |
getBlendInterval() |
double |
getMaxForce() |
PropertyMode |
getMaxForceMode() |
boolean |
getUnilateral() |
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 |
setBlendInterval(double tau) |
void |
setMaxForce(double max) |
void |
setMaxForceMode(PropertyMode mode) |
void |
setUnilateral(boolean enable) |
getDamping, getDampingMode, getStiffness, getStiffnessMode, setDamping, setDampingMode, setStiffness, setStiffnessModeequals, getSubClassesadvanceState, createStateObject, getProperty, getPropertyHost, getPropertyInfo, hasProperty, hasState, hasSymmetricTangent, isWritable, postscan, scan, setPropertyHost, setPropertyInfo, symmetryOrStateChanged, updateMaterial, write, writeItemspublic static PropertyList myProps
public SimpleAxialMuscle()
public SimpleAxialMuscle(double stiffness,
double damping,
double fmax)
public PropertyList getAllPropertyInfo()
HasPropertiesgetAllPropertyInfo in interface HasPropertiesgetAllPropertyInfo in class LinearAxialMaterialpublic double getMaxForce()
public void setMaxForce(double max)
public PropertyMode getMaxForceMode()
public void setMaxForceMode(PropertyMode mode)
public boolean getUnilateral()
public void setUnilateral(boolean enable)
public double getBlendInterval()
public void setBlendInterval(double tau)
public double computeF(double l,
double ldot,
double l0,
double ex)
AxialMaterialcomputeF in class LinearAxialMateriall - 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)
AxialMaterialcomputeDFdl in class LinearAxialMateriall - 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 excitation)
AxialMaterialcomputeDFdldot in class LinearAxialMateriall - spring lengthldot - spring length time derivativel0 - spring rest lengthexcitation - excitation value (varying from 0 to 1)public boolean isDFdldotZero()
AxialMaterialisDFdldotZero in class LinearAxialMaterialpublic boolean equals(AxialMaterial mat)
equals in class LinearAxialMaterialpublic SimpleAxialMuscle clone()
CompositePropertyclone in interface CompositePropertyclone in interface Clonableclone in class LinearAxialMaterialpublic void scaleDistance(double s)
ScalableUnitsscaleDistance in interface ScalableUnitsscaleDistance in class LinearAxialMaterials - scaling factorpublic void scaleMass(double s)
ScalableUnitsscaleMass in interface ScalableUnitsscaleMass in class LinearAxialMaterials - scaling factor