|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectartisynth.core.materials.MaterialBase
artisynth.core.materials.MuscleMaterial
artisynth.core.materials.SimpleForceMuscle
public class SimpleForceMuscle
A muscle material with no passive force that simply adds a constant force proportional to the excitation signal. Used mostly for debugging. Note that a constant force does *not* mean constant stress - as the cross sectional area in the force direction changes, the stress needs to vary as well in order to keep the force constant.
Field Summary | |
---|---|
static PropertyList |
myProps
|
Constructor Summary | |
---|---|
SimpleForceMuscle()
|
|
SimpleForceMuscle(double maxStress)
|
Method Summary | |
---|---|
SimpleForceMuscle |
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)
|
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by this object. |
double |
getMaxStress()
|
PropertyMode |
getMaxStressMode()
|
boolean |
hasSymmetricTangent()
Returns true if the tangent matrix for this material is symmetric. |
void |
scaleDistance(double s)
Scales all distance coordinates. |
void |
scaleMass(double s)
Scales all mass units. |
void |
setMaxStress(double maxStress)
|
void |
setMaxStressMode(PropertyMode mode)
|
Methods inherited from class artisynth.core.materials.MuscleMaterial |
---|
equals, getSubClasses, isInvertible |
Methods inherited from class artisynth.core.materials.MaterialBase |
---|
getProperty, getPropertyHost, getPropertyInfo, hasProperty, isWritable, scan, setPropertyHost, setPropertyInfo, tangentSymmetryChanged, updateMaterial, write |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static PropertyList myProps
Constructor Detail |
---|
public SimpleForceMuscle()
public SimpleForceMuscle(double maxStress)
Method Detail |
---|
public PropertyList getAllPropertyInfo()
HasProperties
getAllPropertyInfo
in interface HasProperties
getAllPropertyInfo
in class MaterialBase
public void setMaxStress(double maxStress)
public double getMaxStress()
public void setMaxStressMode(PropertyMode mode)
public PropertyMode getMaxStressMode()
public void computeStress(SymmetricMatrix3d sigma, double excitation, Vector3d dir0, SolidDeformation def, FemMaterial baseMat)
computeStress
in class MuscleMaterial
public void computeTangent(Matrix6d D, SymmetricMatrix3d stress, double excitation, Vector3d dir0, SolidDeformation def, FemMaterial baseMat)
computeTangent
in class MuscleMaterial
public boolean hasSymmetricTangent()
MaterialBase
hasSymmetricTangent
in class MaterialBase
public boolean equals(MuscleMaterial mat)
equals
in class MuscleMaterial
public SimpleForceMuscle clone()
CompositeProperty
clone
in interface CompositeProperty
clone
in interface Clonable
clone
in class MuscleMaterial
public void scaleDistance(double s)
ScalableUnits
scaleDistance
in interface ScalableUnits
scaleDistance
in class MaterialBase
s
- scaling factorpublic void scaleMass(double s)
ScalableUnits
scaleMass
in interface ScalableUnits
scaleMass
in class MaterialBase
s
- scaling factor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |