artisynth.core.materials
Class PaiAxialMuscle

java.lang.Object
  extended by artisynth.core.materials.MaterialBase
      extended by artisynth.core.materials.AxialMaterial
          extended by artisynth.core.materials.AxialMuscleMaterial
              extended by artisynth.core.materials.PaiAxialMuscle
All Implemented Interfaces:
ScalableUnits, java.lang.Cloneable, CompositeProperty, HasProperties, Clonable, Scannable

public class PaiAxialMuscle
extends AxialMuscleMaterial


Field Summary
 
Fields inherited from class artisynth.core.materials.AxialMuscleMaterial
DEFAULT_DAMPING, DEFAULT_MAX_FORCE, DEFAULT_MAX_LENGTH, DEFAULT_OPT_LENGTH, DEFAULT_PASSIVE_FRACTION, DEFAULT_SCALING, DEFAULT_TENDON_RATIO, maxStretch, minStretch, myProps
 
Constructor Summary
PaiAxialMuscle()
           
 
Method Summary
 double computeDFdl(double l, double ldot, double l0, double ex)
           
 double computeDFdldot(double l, double ldot, double l0, double ex)
           
 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.AxialMaterial
equals
 
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
 

Constructor Detail

PaiAxialMuscle

public PaiAxialMuscle()
Method Detail

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 ex)
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