public class BlemkerAxialMuscle extends AxialMuscleMaterial
| Modifier and Type | Field and Description |
|---|---|
static PropertyList |
myProps |
DEFAULT_DAMPING, DEFAULT_PASSIVE_FRACTION, DEFAULT_SCALING, DEFAULT_TENDON_RATIO, maxStretch, minStretch| Constructor and Description |
|---|
BlemkerAxialMuscle() |
BlemkerAxialMuscle(double lmax,
double optLen,
double maxForce,
double ecoef,
double uncrimp) |
| Modifier and Type | Method and Description |
|---|---|
BlemkerAxialMuscle |
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 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 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 |
getExpStressCoeff() |
PropertyMode |
getExpStressCoeffMode() |
double |
getMaxForce() |
PropertyMode |
getMaxForceMode() |
double |
getMaxLength() |
PropertyMode |
getMaxLengthMode() |
double |
getOptLength() |
PropertyMode |
getOptLengthMode() |
double |
getUncrimpingFactor() |
PropertyMode |
getUncrimpingFactorMode() |
boolean |
isDFdldotZero()
Returns true if computeDFdldot() always returns zero.
|
static void |
main(java.lang.String[] args) |
void |
scaleDistance(double s)
Scales all distance coordinates.
|
void |
scaleMass(double s)
Scales all mass units.
|
void |
setExpStressCoeff(double ecoef) |
void |
setExpStressCoeffMode(PropertyMode mode) |
void |
setMaxForce(double maxForce) |
void |
setMaxForceMode(PropertyMode mode) |
void |
setMaxLength(double lmax) |
void |
setMaxLengthMode(PropertyMode mode) |
void |
setOptLength(double lopt) |
void |
setOptLengthMode(PropertyMode mode) |
void |
setUncrimpingFactor(double uncrimp) |
void |
setUncrimpingFactorMode(PropertyMode mode) |
void |
writeActiveForceLengthCurve(java.lang.String fileName,
double x0,
double x1,
int npnts,
java.lang.String fmtStr) |
void |
writeCombinedForceLengthCurve(java.lang.String fileName,
double x0,
double x1,
int npnts,
java.lang.String fmtStr) |
void |
writePassiveForceLengthCurve(java.lang.String fileName,
double x0,
double x1,
int npnts,
java.lang.String fmtStr) |
getDamping, getDampingMode, getForceScaling, getForceScalingMode, getPassiveFraction, getPassiveFractionMode, getSubClasses, getTendonRatio, getTendonRatioMode, normalizeForceScaling, setAxialMuscleMaterialProps, setDamping, setDampingMode, setForceScaling, setForceScalingMode, setPassiveFraction, setPassiveFractionMode, setTendonRatio, setTendonRatioMode, toStringequalsadvanceState, createStateObject, getProperty, getPropertyHost, getPropertyInfo, hasProperty, hasState, hasSymmetricTangent, isWritable, postscan, scan, setPropertyHost, setPropertyInfo, symmetryOrStateChanged, updateMaterial, write, writeItemspublic static PropertyList myProps
public BlemkerAxialMuscle()
public BlemkerAxialMuscle(double lmax,
double optLen,
double maxForce,
double ecoef,
double uncrimp)
public PropertyList getAllPropertyInfo()
HasPropertiesgetAllPropertyInfo in interface HasPropertiesgetAllPropertyInfo in class AxialMuscleMaterialpublic void setMaxLength(double lmax)
setMaxLength in class AxialMuscleMaterialpublic double getMaxLength()
getMaxLength in class AxialMuscleMaterialpublic void setMaxLengthMode(PropertyMode mode)
setMaxLengthMode in class AxialMuscleMaterialpublic PropertyMode getMaxLengthMode()
getMaxLengthMode in class AxialMuscleMaterialpublic void setOptLength(double lopt)
setOptLength in class AxialMuscleMaterialpublic double getOptLength()
getOptLength in class AxialMuscleMaterialpublic void setOptLengthMode(PropertyMode mode)
setOptLengthMode in class AxialMuscleMaterialpublic PropertyMode getOptLengthMode()
getOptLengthMode in class AxialMuscleMaterialpublic void setMaxForce(double maxForce)
setMaxForce in class AxialMuscleMaterialpublic double getMaxForce()
getMaxForce in class AxialMuscleMaterialpublic void setMaxForceMode(PropertyMode mode)
setMaxForceMode in class AxialMuscleMaterialpublic PropertyMode getMaxForceMode()
getMaxForceMode in class AxialMuscleMaterialpublic void setExpStressCoeff(double ecoef)
public double getExpStressCoeff()
public void setExpStressCoeffMode(PropertyMode mode)
public PropertyMode getExpStressCoeffMode()
public void setUncrimpingFactor(double uncrimp)
public double getUncrimpingFactor()
public void setUncrimpingFactorMode(PropertyMode mode)
public PropertyMode getUncrimpingFactorMode()
public double computeF(double l,
double ldot,
double l0,
double excitation)
AxialMaterialcomputeF in class AxialMateriall - 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)
AxialMaterialcomputeDFdl in class AxialMateriall - 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 ex)
AxialMaterialcomputeDFdldot in class AxialMateriall - spring lengthldot - spring length time derivativel0 - spring rest lengthex - excitation value (varying from 0 to 1)public boolean isDFdldotZero()
AxialMaterialisDFdldotZero in class AxialMaterialpublic boolean equals(AxialMaterial mat)
equals in class AxialMuscleMaterialpublic BlemkerAxialMuscle clone()
CompositePropertyclone in interface CompositePropertyclone in interface Clonableclone in class AxialMuscleMaterialpublic void scaleDistance(double s)
ScalableUnitsscaleDistance in interface ScalableUnitsscaleDistance in class AxialMuscleMaterials - scaling factorpublic void scaleMass(double s)
ScalableUnitsscaleMass in interface ScalableUnitsscaleMass in class AxialMuscleMaterials - scaling factorpublic void writeActiveForceLengthCurve(java.lang.String fileName,
double x0,
double x1,
int npnts,
java.lang.String fmtStr)
throws java.io.IOException
java.io.IOExceptionpublic void writePassiveForceLengthCurve(java.lang.String fileName,
double x0,
double x1,
int npnts,
java.lang.String fmtStr)
throws java.io.IOException
java.io.IOExceptionpublic void writeCombinedForceLengthCurve(java.lang.String fileName,
double x0,
double x1,
int npnts,
java.lang.String fmtStr)
throws java.io.IOException
java.io.IOExceptionpublic static void main(java.lang.String[] args)
throws java.io.IOException
java.io.IOException