artisynth.core.materials
Class ConstantAxialMuscle
java.lang.Object
artisynth.core.materials.MaterialBase
artisynth.core.materials.AxialMaterial
artisynth.core.materials.AxialMuscleMaterial
artisynth.core.materials.ConstantAxialMuscle
- All Implemented Interfaces:
- ScalableUnits, java.lang.Cloneable, CompositeProperty, HasProperties, Clonable, Scannable
public class ConstantAxialMuscle
- extends AxialMuscleMaterial
Method Summary |
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 |
isDFdldotZero()
Returns true if computeDFdldot() always returns zero. |
Methods inherited from class artisynth.core.materials.AxialMuscleMaterial |
clone, equals, getAllPropertyInfo, getDamping, getDampingMode, getForceScaling, getForceScalingMode, getMaxForce, getMaxForceMode, getMaxLength, getMaxLengthMode, getOptLength, getOptLengthMode, getPassiveFraction, getPassiveFractionMode, getSubClasses, getTendonRatio, getTendonRatioMode, scaleDistance, scaleMass, setAxialMuscleMaterialProps, setDamping, setDampingMode, setForceScaling, setForceScalingMode, setMaxForce, setMaxForceMode, setMaxLength, setMaxLengthMode, setOptLength, setOptLengthMode, setPassiveFraction, setPassiveFractionMode, setTendonRatio, setTendonRatioMode |
Methods inherited from class artisynth.core.materials.MaterialBase |
getProperty, getPropertyHost, getPropertyInfo, hasProperty, hasSymmetricTangent, isWritable, scan, setPropertyHost, setPropertyInfo, tangentSymmetryChanged, updateMaterial, write |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstantAxialMuscle
public ConstantAxialMuscle()
computeF
public double computeF(double l,
double ldot,
double l0,
double ex)
- Specified by:
computeF
in class AxialMaterial
computeDFdl
public double computeDFdl(double l,
double ldot,
double l0,
double ex)
- Specified by:
computeDFdl
in class AxialMaterial
computeDFdldot
public double computeDFdldot(double l,
double ldot,
double l0,
double excitation)
- Specified by:
computeDFdldot
in class AxialMaterial
isDFdldotZero
public boolean isDFdldotZero()
- Description copied from class:
AxialMaterial
- Returns true if computeDFdldot() always returns zero. For a linear
spring, this simply means the damping is zero. When dFdldot is always 0,
then stiffness matrix will be symmetric.
- Specified by:
isDFdldotZero
in class AxialMaterial