artisynth.core.materials
Class InactiveMuscle

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

public class InactiveMuscle
extends MuscleMaterial

A muscle material that does nothing


Field Summary
 
Fields inherited from class artisynth.core.materials.MaterialBase
myProps
 
Constructor Summary
InactiveMuscle()
           
 
Method Summary
 InactiveMuscle clone()
          Returns a clone of this composite property.
 void computeStress(SymmetricMatrix3d sigma, double excitation, Vector3d dir0, SolidDeformation def, FemMaterial baseMat)
           
 void computeTangent(Matrix6d D, SymmetricMatrix3d stress, double excitation, Vector3d dir0, SolidDeformation def, FemMaterial baseMat)
           
 boolean equals(MuscleMaterial mat)
           
 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.MuscleMaterial
equals, getSubClasses
 
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

InactiveMuscle

public InactiveMuscle()
Method Detail

computeStress

public void computeStress(SymmetricMatrix3d sigma,
                          double excitation,
                          Vector3d dir0,
                          SolidDeformation def,
                          FemMaterial baseMat)
Specified by:
computeStress in class MuscleMaterial

computeTangent

public void computeTangent(Matrix6d D,
                           SymmetricMatrix3d stress,
                           double excitation,
                           Vector3d dir0,
                           SolidDeformation def,
                           FemMaterial baseMat)
Specified by:
computeTangent in class MuscleMaterial

equals

public boolean equals(MuscleMaterial mat)
Overrides:
equals in class MuscleMaterial

isInvertible

public boolean isInvertible()
Description copied from class: MuscleMaterial
Returns true if this material is defined for a deformation gradient with a non-positive determinant.

Overrides:
isInvertible in class MuscleMaterial

clone

public InactiveMuscle 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 MuscleMaterial
Returns:
clone of this property