public abstract class AxialMuscleMaterial extends AxialMuscleMaterialBase
Modifier and Type | Field and Description |
---|---|
static double |
DEFAULT_DAMPING |
static double |
DEFAULT_MAX_FORCE |
static double |
DEFAULT_MAX_LENGTH |
static double |
DEFAULT_OPT_LENGTH |
static double |
DEFAULT_PASSIVE_FRACTION |
static double |
DEFAULT_SCALING |
static double |
DEFAULT_TENDON_RATIO |
static double |
maxStretch |
static double |
minStretch |
static PropertyList |
myProps |
Constructor and Description |
---|
AxialMuscleMaterial() |
Modifier and Type | Method and Description |
---|---|
AxialMuscleMaterial |
clone()
Returns a clone of this composite property.
|
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 |
getMaxLength() |
PropertyMode |
getMaxLengthMode() |
double |
getOptLength() |
PropertyMode |
getOptLengthMode() |
double |
getPassiveFraction() |
PropertyMode |
getPassiveFractionMode() |
static java.lang.Class<?>[] |
getSubClasses() |
double |
getTendonRatio() |
PropertyMode |
getTendonRatioMode() |
boolean |
normalizeForceScaling()
Folds the forceScaling term into the maxForce and damping terms, and then
sets the forceScaling to 1.
|
void |
scaleDistance(double s)
Scales all distance coordinates.
|
void |
scaleMass(double s)
Scales all mass units.
|
void |
setAxialMuscleMaterialProps(double fmax,
double lopt,
double lmax,
double pfrac,
double tratio,
double damping,
double forceScaling) |
void |
setDamping(double d) |
void |
setDampingMode(PropertyMode mode) |
void |
setForceScaling(double fScaling) |
void |
setForceScalingMode(PropertyMode mode) |
void |
setMaxForce(double fmax) |
void |
setMaxForceMode(PropertyMode mode) |
void |
setMaxLength(double lmax) |
void |
setMaxLengthMode(PropertyMode mode) |
void |
setOptLength(double lopt) |
void |
setOptLengthMode(PropertyMode mode) |
void |
setPassiveFraction(double pfrac) |
void |
setPassiveFractionMode(PropertyMode mode) |
void |
setTendonRatio(double tratio) |
void |
setTendonRatioMode(PropertyMode mode) |
java.lang.String |
toString(java.lang.String fmtStr)
Creates a string showing the seven primary properties of this muscle
material.
|
computeDFdl, computeDFdldot, computeF, equals, isDFdldotZero
advanceState, createStateObject, getProperty, getPropertyHost, getPropertyInfo, hasProperty, hasState, hasSymmetricTangent, isWritable, postscan, scan, setPropertyHost, setPropertyInfo, symmetryOrStateChanged, updateMaterial, write, writeItems
public static double DEFAULT_MAX_FORCE
public static double DEFAULT_OPT_LENGTH
public static double DEFAULT_MAX_LENGTH
public static double DEFAULT_PASSIVE_FRACTION
public static double DEFAULT_TENDON_RATIO
public static double DEFAULT_DAMPING
public static double DEFAULT_SCALING
public static final double maxStretch
public static final double minStretch
public static PropertyList myProps
public PropertyList getAllPropertyInfo()
HasProperties
getAllPropertyInfo
in interface HasProperties
getAllPropertyInfo
in class MaterialBase
public double getMaxForce()
public void setMaxForce(double fmax)
public PropertyMode getMaxForceMode()
public void setMaxForceMode(PropertyMode mode)
public double getPassiveFraction()
public void setPassiveFraction(double pfrac)
public PropertyMode getPassiveFractionMode()
public void setPassiveFractionMode(PropertyMode mode)
public double getOptLength()
public void setOptLength(double lopt)
public PropertyMode getOptLengthMode()
public void setOptLengthMode(PropertyMode mode)
public double getMaxLength()
public void setMaxLength(double lmax)
public PropertyMode getMaxLengthMode()
public void setMaxLengthMode(PropertyMode mode)
public double getTendonRatio()
public void setTendonRatio(double tratio)
public PropertyMode getTendonRatioMode()
public void setTendonRatioMode(PropertyMode mode)
public double getForceScaling()
public void setForceScaling(double fScaling)
public PropertyMode getForceScalingMode()
public void setForceScalingMode(PropertyMode mode)
public double getDamping()
public void setDamping(double d)
public PropertyMode getDampingMode()
public void setDampingMode(PropertyMode mode)
public void setAxialMuscleMaterialProps(double fmax, double lopt, double lmax, double pfrac, double tratio, double damping, double forceScaling)
public boolean equals(AxialMaterial mat)
equals
in class AxialMaterial
public AxialMuscleMaterial 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 factorpublic static java.lang.Class<?>[] getSubClasses()
public boolean normalizeForceScaling()
public java.lang.String toString(java.lang.String fmtStr)