public class Millard2012AxialMuscle extends AxialMuscleMaterialBase
Modifier and Type | Field and Description |
---|---|
static double |
DEFAULT_FIBRE_DAMPING |
static boolean |
DEFAULT_IGNORE_FORCE_VELOCITY |
static boolean |
DEFAULT_IGNORE_TENDON_COMPLIANCE |
static double |
DEFAULT_MAX_CONTRACTION_VELOCITY |
static double |
DEFAULT_MAX_ISO_FORCE |
static double |
DEFAULT_MAX_PENNATION_ANGLE |
static double |
DEFAULT_OPT_FIBRE_LENGTH |
static double |
DEFAULT_OPT_PENNATION_ANGLE |
static double |
DEFAULT_TENDON_SLACK_LENGTH |
static PropertyList |
myProps |
Constructor and Description |
---|
Millard2012AxialMuscle() |
Millard2012AxialMuscle(double maxIsoForce,
double optFibreLen,
double tendonSlackLen,
double optPennationAng) |
Modifier and Type | Method and Description |
---|---|
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.
|
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
static CubicHermiteSpline1d |
getDefaultActiveForceLengthCurve() |
static CubicHermiteSpline1d |
getDefaultForceVelocityCurve() |
static CubicHermiteSpline1d |
getDefaultPassiveForceLengthCurve() |
static CubicHermiteSpline1d |
getDefaultTendonForceLengthCurve() |
double |
getFibreDamping() |
boolean |
getIgnoreForceVelocity() |
boolean |
getIgnoreTendonCompliance() |
double |
getMaxContractionVelocity() |
double |
getMaxIsoForce() |
double |
getMaxPennationAngle() |
double |
getOptFibreLength() |
double |
getOptPennationAngle() |
double |
getTendonSlackLength() |
boolean |
isDFdldotZero()
Returns true if computeDFdldot() always returns zero.
|
static void |
main(java.lang.String[] args) |
void |
setFibreDamping(double d) |
void |
setIgnoreForceVelocity(boolean enable) |
void |
setIgnoreTendonCompliance(boolean enable) |
void |
setMaxContractionVelocity(double maxv) |
void |
setMaxIsoForce(double maxf) |
void |
setMaxPennationAngle(double ang) |
void |
setOptFibreLength(double l) |
void |
setOptPennationAngle(double ang) |
void |
setTendonSlackLength(double l) |
createActiveForceLengthCurve, createForceVelocityCurve, createPassiveForceLengthCurve, createTendonForceLengthCurve, getActiveForceLengthCurve, getForceVelocityCurve, getPassiveForceLengthCurve, getTendonForceLengthCurve, setActiveForceLengthCurve, setForceVelocityCurve, setPassiveForceLengthCurve, setTendonForceLengthCurve, writeItems
clone, equals, equals, getSubClasses
advanceState, createStateObject, getProperty, getPropertyHost, getPropertyInfo, hasProperty, hasState, hasSymmetricTangent, isWritable, postscan, scaleDistance, scaleMass, scan, setPropertyHost, setPropertyInfo, symmetryOrStateChanged, updateMaterial, write
public static double DEFAULT_MAX_ISO_FORCE
public static double DEFAULT_OPT_FIBRE_LENGTH
public static double DEFAULT_TENDON_SLACK_LENGTH
public static double DEFAULT_OPT_PENNATION_ANGLE
public static double DEFAULT_MAX_CONTRACTION_VELOCITY
public static boolean DEFAULT_IGNORE_TENDON_COMPLIANCE
public static double DEFAULT_FIBRE_DAMPING
public static double DEFAULT_MAX_PENNATION_ANGLE
public static boolean DEFAULT_IGNORE_FORCE_VELOCITY
public static PropertyList myProps
public Millard2012AxialMuscle()
public Millard2012AxialMuscle(double maxIsoForce, double optFibreLen, double tendonSlackLen, double optPennationAng)
public PropertyList getAllPropertyInfo()
HasProperties
getAllPropertyInfo
in interface HasProperties
getAllPropertyInfo
in class MaterialBase
public static CubicHermiteSpline1d getDefaultActiveForceLengthCurve()
public static CubicHermiteSpline1d getDefaultPassiveForceLengthCurve()
public static CubicHermiteSpline1d getDefaultForceVelocityCurve()
public static CubicHermiteSpline1d getDefaultTendonForceLengthCurve()
public double getFibreDamping()
public void setFibreDamping(double d)
public double getMaxIsoForce()
public void setMaxIsoForce(double maxf)
public double getOptFibreLength()
public void setOptFibreLength(double l)
public double getMaxContractionVelocity()
public void setMaxContractionVelocity(double maxv)
public double getOptPennationAngle()
public void setOptPennationAngle(double ang)
public double getMaxPennationAngle()
public void setMaxPennationAngle(double ang)
public double getTendonSlackLength()
public void setTendonSlackLength(double l)
public boolean getIgnoreTendonCompliance()
public void setIgnoreTendonCompliance(boolean enable)
public boolean getIgnoreForceVelocity()
public void setIgnoreForceVelocity(boolean enable)
public double computeF(double l, double ldot, double l0, double excitation)
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)
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)
computeDFdldot
in class AxialMaterial
l
- spring lengthldot
- spring length time derivativel0
- spring rest lengthexcitation
- excitation value (varying from 0 to 1)public boolean isDFdldotZero()
isDFdldotZero
in class AxialMaterial
public static void main(java.lang.String[] args)