artisynth.core.materials
Class BlemkerMuscle

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

public class BlemkerMuscle
extends MuscleMaterial

A generic muscle material


Field Summary
static PropertyList myProps
           
 
Constructor Summary
BlemkerMuscle()
           
BlemkerMuscle(double maxLam, double optLam, double maxStress, double expStress, double uncrimp)
           
 
Method Summary
 BlemkerMuscle 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 getMaxLambda()
           
 PropertyMode getMaxLambdaMode()
           
 double getMaxStress()
           
 PropertyMode getMaxStressMode()
           
 double getOptLambda()
           
 PropertyMode getOptLambdaMode()
           
 double getUncrimpingFactor()
           
 PropertyMode getUncrimpingFactorMode()
           
static void main(java.lang.String[] args)
           
 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 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

BlemkerMuscle

public BlemkerMuscle()

BlemkerMuscle

public BlemkerMuscle(double maxLam,
                     double optLam,
                     double maxStress,
                     double expStress,
                     double uncrimp)
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()

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 BlemkerMuscle 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

main

public static void main(java.lang.String[] args)

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