public class SimpleAxialMuscle extends LinearAxialMaterial
Modifier and Type | Field and Description |
---|---|
static PropertyList |
myProps |
Constructor and Description |
---|
SimpleAxialMuscle() |
SimpleAxialMuscle(double k,
double d,
double maxf) |
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) |
double |
computeDFdldot(double l,
double ldot,
double l0,
double excitation) |
double |
computeF(double l,
double ldot,
double l0,
double ex) |
boolean |
equals(AxialMaterial mat) |
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
double |
getMaxForce() |
PropertyMode |
getMaxForceMode() |
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 |
setMaxForce(double max) |
void |
setMaxForceMode(PropertyMode mode) |
getDamping, getDampingMode, getStiffness, getStiffnessMode, setDamping, setDampingMode, setStiffness, setStiffnessMode
equals, getSubClasses
getProperty, getPropertyHost, getPropertyInfo, hasProperty, hasSymmetricTangent, isWritable, scan, setPropertyHost, setPropertyInfo, tangentSymmetryChanged, updateMaterial, write
public static PropertyList myProps
public SimpleAxialMuscle()
public SimpleAxialMuscle(double k, double d, double maxf)
public PropertyList getAllPropertyInfo()
HasProperties
getAllPropertyInfo
in interface HasProperties
getAllPropertyInfo
in class LinearAxialMaterial
public double getMaxForce()
public void setMaxForce(double max)
public PropertyMode getMaxForceMode()
public void setMaxForceMode(PropertyMode mode)
public double computeF(double l, double ldot, double l0, double ex)
computeF
in class LinearAxialMaterial
public double computeDFdl(double l, double ldot, double l0, double ex)
computeDFdl
in class LinearAxialMaterial
public double computeDFdldot(double l, double ldot, double l0, double excitation)
computeDFdldot
in class LinearAxialMaterial
public boolean isDFdldotZero()
AxialMaterial
isDFdldotZero
in class LinearAxialMaterial
public boolean equals(AxialMaterial mat)
equals
in class LinearAxialMaterial
public SimpleAxialMuscle clone()
CompositeProperty
clone
in interface CompositeProperty
clone
in interface Clonable
clone
in class LinearAxialMaterial
public void scaleDistance(double s)
ScalableUnits
scaleDistance
in interface ScalableUnits
scaleDistance
in class LinearAxialMaterial
s
- scaling factorpublic void scaleMass(double s)
ScalableUnits
scaleMass
in interface ScalableUnits
scaleMass
in class LinearAxialMaterial
s
- scaling factor