artisynth.core.materials
Class InactiveMuscle
java.lang.Object
artisynth.core.materials.MaterialBase
artisynth.core.materials.MuscleMaterial
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
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 |
InactiveMuscle
public InactiveMuscle()
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