artisynth.core.materials
Class FullBlemkerMuscle

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

public class FullBlemkerMuscle
extends MuscleMaterial


Field Summary
static PropertyList myProps
           
 
Constructor Summary
FullBlemkerMuscle()
           
FullBlemkerMuscle(double maxLam, double optLam, double maxStress, double expStress, double uncrimp, double g1, double g2)
           
 
Method Summary
 FullBlemkerMuscle clone()
          Returns a clone of this composite property.
 void computeStress(SymmetricMatrix3d sigma, double excitation, Vector3d dir0, SolidDeformation def, FemMaterial baseMat)
           
 double computeStretch(Vector3d dir0, SolidDeformation def)
           
 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 getExpStressCoeff()
           
 PropertyMode getExpStressCoeffMode()
           
 double getG1()
           
 PropertyMode getG1Mode()
           
 double getG2()
           
 PropertyMode getG2Mode()
           
 double getMaxLambda()
           
 PropertyMode getMaxLambdaMode()
           
 double getMaxStress()
           
 PropertyMode getMaxStressMode()
           
 double getOptLambda()
           
 PropertyMode getOptLambdaMode()
           
 double getUncrimpingFactor()
           
 PropertyMode getUncrimpingFactorMode()
           
 void scaleDistance(double s)
          Scales all distance coordinates.
 void scaleMass(double s)
          Scales all mass units.
 void setExpStressCoeff(double coeff)
           
 void setExpStressCoeffMode(PropertyMode mode)
           
 void setG1(double G1)
           
 void setG1Mode(PropertyMode mode)
           
 void setG2(double G2)
           
 void setG2Mode(PropertyMode mode)
           
 void setMaxLambda(double maxLambda)
           
 void setMaxLambdaMode(PropertyMode mode)
           
 void setMaxStress(double maxStress)
           
 void setMaxStressMode(PropertyMode mode)
           
 void setOptLambda(double optLambda)
           
 void setOptLambdaMode(PropertyMode mode)
           
 void setUncrimpingFactor(double factor)
           
 void setUncrimpingFactorMode(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, hasSymmetricTangent, isWritable, scan, setPropertyHost, setPropertyInfo, tangentSymmetryChanged, updateMaterial, write
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myProps

public static PropertyList myProps
Constructor Detail

FullBlemkerMuscle

public FullBlemkerMuscle()

FullBlemkerMuscle

public FullBlemkerMuscle(double maxLam,
                         double optLam,
                         double maxStress,
                         double expStress,
                         double uncrimp,
                         double g1,
                         double g2)
Method Detail

getAllPropertyInfo

public PropertyList getAllPropertyInfo()
Description copied from interface: HasProperties
Returns a list giving static information about all properties exported by this object.

Specified by:
getAllPropertyInfo in interface HasProperties
Overrides:
getAllPropertyInfo in class MaterialBase
Returns:
static information for all exported properties

setMaxLambda

public void setMaxLambda(double maxLambda)

getMaxLambda

public double getMaxLambda()

setMaxLambdaMode

public void setMaxLambdaMode(PropertyMode mode)

getMaxLambdaMode

public PropertyMode getMaxLambdaMode()

setOptLambda

public void setOptLambda(double optLambda)

getOptLambda

public double getOptLambda()

setOptLambdaMode

public void setOptLambdaMode(PropertyMode mode)

getOptLambdaMode

public PropertyMode getOptLambdaMode()

setMaxStress

public void setMaxStress(double maxStress)

getMaxStress

public double getMaxStress()

setMaxStressMode

public void setMaxStressMode(PropertyMode mode)

getMaxStressMode

public PropertyMode getMaxStressMode()

setExpStressCoeff

public void setExpStressCoeff(double coeff)

getExpStressCoeff

public double getExpStressCoeff()

setExpStressCoeffMode

public void setExpStressCoeffMode(PropertyMode mode)

getExpStressCoeffMode

public PropertyMode getExpStressCoeffMode()

setUncrimpingFactor

public void setUncrimpingFactor(double factor)

getUncrimpingFactor

public double getUncrimpingFactor()

setUncrimpingFactorMode

public void setUncrimpingFactorMode(PropertyMode mode)

getUncrimpingFactorMode

public PropertyMode getUncrimpingFactorMode()

setG1

public void setG1(double G1)

getG1

public double getG1()

setG1Mode

public void setG1Mode(PropertyMode mode)

getG1Mode

public PropertyMode getG1Mode()

setG2

public void setG2(double G2)

getG2

public double getG2()

setG2Mode

public void setG2Mode(PropertyMode mode)

getG2Mode

public PropertyMode getG2Mode()

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

computeStretch

public double computeStretch(Vector3d dir0,
                             SolidDeformation def)

equals

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

clone

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

scaleDistance

public void scaleDistance(double s)
Description copied from interface: ScalableUnits
Scales all distance coordinates.

Specified by:
scaleDistance in interface ScalableUnits
Overrides:
scaleDistance in class MaterialBase
Parameters:
s - scaling factor

scaleMass

public void scaleMass(double s)
Description copied from interface: ScalableUnits
Scales all mass units.

Specified by:
scaleMass in interface ScalableUnits
Overrides:
scaleMass in class MaterialBase
Parameters:
s - scaling factor