artisynth.core.materials
Class AxialMaterial

java.lang.Object
  extended by artisynth.core.materials.MaterialBase
      extended by artisynth.core.materials.AxialMaterial
All Implemented Interfaces:
ScalableUnits, java.lang.Cloneable, CompositeProperty, HasProperties, Clonable, Scannable
Direct Known Subclasses:
AxialMuscleMaterial, LigamentAxialMaterial, LinearAxialMaterial

public abstract class AxialMaterial
extends MaterialBase


Field Summary
 
Fields inherited from class artisynth.core.materials.MaterialBase
myProps
 
Constructor Summary
AxialMaterial()
           
 
Method Summary
 AxialMaterial clone()
          Returns a clone of this composite property.
abstract  double computeDFdl(double l, double ldot, double l0, double excitation)
           
abstract  double computeDFdldot(double l, double ldot, double l0, double excitation)
           
abstract  double computeF(double l, double ldot, double l0, double excitation)
           
 boolean equals(AxialMaterial mat)
           
 boolean equals(java.lang.Object obj)
           
static java.lang.Class<?>[] getSubClasses()
           
abstract  boolean isDFdldotZero()
          Returns true if computeDFdldot() always returns zero.
 
Methods inherited from class artisynth.core.materials.MaterialBase
getAllPropertyInfo, getProperty, getPropertyHost, getPropertyInfo, hasProperty, hasSymmetricTangent, isWritable, scaleDistance, scaleMass, scan, setPropertyHost, setPropertyInfo, tangentSymmetryChanged, updateMaterial, write
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AxialMaterial

public AxialMaterial()
Method Detail

getSubClasses

public static java.lang.Class<?>[] getSubClasses()

computeF

public abstract double computeF(double l,
                                double ldot,
                                double l0,
                                double excitation)

computeDFdl

public abstract double computeDFdl(double l,
                                   double ldot,
                                   double l0,
                                   double excitation)

computeDFdldot

public abstract double computeDFdldot(double l,
                                      double ldot,
                                      double l0,
                                      double excitation)

isDFdldotZero

public abstract boolean isDFdldotZero()
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.


equals

public boolean equals(AxialMaterial mat)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

clone

public AxialMaterial clone()
Description copied from interface: CompositeProperty
Returns a clone of this composite property.

Specified by:
clone in interface CompositeProperty
Specified by:
clone in interface Clonable
Overrides:
clone in class MaterialBase
Returns:
clone of this property