public class SpringAxialMuscle extends LinearAxialMaterial
Modifier and Type | Field and Description |
---|---|
static PropertyList |
myProps |
Constructor and Description |
---|
SpringAxialMuscle() |
SpringAxialMuscle(double k,
double d,
double fmax) |
Modifier and Type | Method and Description |
---|---|
SpringAxialMuscle |
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 |
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
advanceState, createStateObject, getProperty, getPropertyHost, getPropertyInfo, hasProperty, hasState, hasSymmetricTangent, isWritable, postscan, scan, setPropertyHost, setPropertyInfo, symmetryOrStateChanged, updateMaterial, write, writeItems
public static PropertyList myProps
public SpringAxialMuscle()
public SpringAxialMuscle(double k, double d, double fmax)
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)
AxialMaterial
computeF
in class LinearAxialMaterial
l
- 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)
AxialMaterial
computeDFdl
in class LinearAxialMaterial
l
- 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)
AxialMaterial
computeDFdldot
in class LinearAxialMaterial
l
- spring lengthldot
- spring length time derivativel0
- spring rest lengthexcitation
- excitation value (varying from 0 to 1)public boolean isDFdldotZero()
AxialMaterial
isDFdldotZero
in class LinearAxialMaterial
public boolean equals(AxialMaterial mat)
equals
in class LinearAxialMaterial
public SpringAxialMuscle 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