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