artisynth.core.materials
Class MuscleMaterial

java.lang.Object
  extended by artisynth.core.materials.MaterialBase
      extended by artisynth.core.materials.MuscleMaterial
All Implemented Interfaces:
ScalableUnits, java.lang.Cloneable, CompositeProperty, HasProperties, Clonable, Scannable
Direct Known Subclasses:
BlemkerMuscle, FullBlemkerMuscle, GenericMuscle, InactiveMuscle, SimpleForceMuscle

public abstract class MuscleMaterial
extends MaterialBase

Base class for Muscle materials. These are similiar to regular materials, except that they add to the stress and tangent term, and the associated methods also accept an excitation and a direction.


Field Summary
 
Fields inherited from class artisynth.core.materials.MaterialBase
myProps
 
Constructor Summary
MuscleMaterial()
           
 
Method Summary
 MuscleMaterial clone()
          Returns a clone of this composite property.
abstract  void computeStress(SymmetricMatrix3d sigma, double excitation, Vector3d dir, SolidDeformation def, FemMaterial baseMat)
           
abstract  void computeTangent(Matrix6d D, SymmetricMatrix3d stress, double excitation, Vector3d dir, SolidDeformation def, FemMaterial baseMat)
           
 boolean equals(MuscleMaterial mat)
           
 boolean equals(java.lang.Object obj)
           
static java.lang.Class<?>[] getSubClasses()
           
 boolean isInvertible()
          Returns true if this material is defined for a deformation gradient with a non-positive determinant.
 
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

MuscleMaterial

public MuscleMaterial()
Method Detail

getSubClasses

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

computeStress

public abstract void computeStress(SymmetricMatrix3d sigma,
                                   double excitation,
                                   Vector3d dir,
                                   SolidDeformation def,
                                   FemMaterial baseMat)

computeTangent

public abstract void computeTangent(Matrix6d D,
                                    SymmetricMatrix3d stress,
                                    double excitation,
                                    Vector3d dir,
                                    SolidDeformation def,
                                    FemMaterial baseMat)

equals

public boolean equals(MuscleMaterial mat)

equals

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

clone

public MuscleMaterial 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

isInvertible

public boolean isInvertible()
Returns true if this material is defined for a deformation gradient with a non-positive determinant.