artisynth.core.materials
Class FungMaterial

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

public class FungMaterial
extends IncompressibleMaterial


Nested Class Summary
 
Nested classes/interfaces inherited from class artisynth.core.materials.IncompressibleMaterial
IncompressibleMaterial.BulkPotential
 
Field Summary
static PropertyList myProps
           
 
Fields inherited from class artisynth.core.materials.IncompressibleMaterial
DEFAULT_BULK_POTENTIAL, DEFAULT_KAPPA
 
Constructor Summary
FungMaterial()
           
FungMaterial(double MU1, double MU2, double MU3, double L11, double L22, double L33, double L12, double L23, double L31, double CC, double kappa)
           
 
Method Summary
static void addTensorProduct4(Matrix6d c, double s, Matrix3dBase A, Matrix3dBase B)
           
 FungMaterial clone()
          Returns a clone of this composite property.
 void computeStress(SymmetricMatrix3d sigma, SolidDeformation def, Matrix3d Q, FemMaterial baseMat)
           
 void computeTangent(Matrix6d c, SymmetricMatrix3d stress, SolidDeformation def, Matrix3d Q, FemMaterial baseMat)
           
static Matrix6d ddots(Matrix6d a, Matrix6d b)
           
 boolean equals(FemMaterial mat)
           
 PropertyList getAllPropertyInfo()
          Returns a list giving static information about all properties exported by this object.
 double getCC()
           
 PropertyMode getCCMode()
           
 double getL11()
           
 PropertyMode getL11Mode()
           
 double getL12()
           
 PropertyMode getL12Mode()
           
 double getL22()
           
 PropertyMode getL22Mode()
           
 double getL23()
           
 PropertyMode getL23Mode()
           
 double getL31()
           
 PropertyMode getL31Mode()
           
 double getL33()
           
 PropertyMode getL33Mode()
           
 double getMU1()
           
 PropertyMode getMU1Mode()
           
 double getMU2()
           
 PropertyMode getMU2Mode()
           
 double getMU3()
           
 PropertyMode getMU3Mode()
           
 boolean isIncompressible()
           
static void main(java.lang.String[] args)
           
 void scaleDistance(double s)
          Scales all distance coordinates.
 void scaleMass(double s)
          Scales all mass units.
 void setCC(double CC)
           
 void setCCMode(PropertyMode mode)
           
 void setL11(double L11)
           
 void setL11Mode(PropertyMode mode)
           
 void setL12(double L12)
           
 void setL12Mode(PropertyMode mode)
           
 void setL22(double L22)
           
 void setL22Mode(PropertyMode mode)
           
 void setL23(double L23)
           
 void setL23Mode(PropertyMode mode)
           
 void setL31(double L31)
           
 void setL31Mode(PropertyMode mode)
           
 void setL33(double L33)
           
 void setL33Mode(PropertyMode mode)
           
 void setMU1(double MU1)
           
 void setMU1Mode(PropertyMode mode)
           
 void setMU2(double MU2)
           
 void setMU2Mode(PropertyMode mode)
           
 void setMU3(double MU3)
           
 void setMU3Mode(PropertyMode mode)
           
 
Methods inherited from class artisynth.core.materials.IncompressibleMaterial
addPressureStress, addPressureTangent, computePressureStress, computePressureTangent, getBulkModulus, getBulkModulusMode, getBulkPotential, getBulkPotentialMode, getEffectiveModulus, getEffectivePressure, isInvertible, setBulkModulus, setBulkModulusMode, setBulkPotential, setBulkPotentialMode
 
Methods inherited from class artisynth.core.materials.FemMaterial
equals, getSubClasses, getViscoBehavior, isViscoelastic, setViscoBehavior
 
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

FungMaterial

public FungMaterial()

FungMaterial

public FungMaterial(double MU1,
                    double MU2,
                    double MU3,
                    double L11,
                    double L22,
                    double L33,
                    double L12,
                    double L23,
                    double L31,
                    double CC,
                    double kappa)
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 IncompressibleMaterial
Returns:
static information for all exported properties

setMU1

public void setMU1(double MU1)

setMU2

public void setMU2(double MU2)

setMU3

public void setMU3(double MU3)

setL11

public void setL11(double L11)

setL22

public void setL22(double L22)

setL33

public void setL33(double L33)

setL12

public void setL12(double L12)

setL23

public void setL23(double L23)

setL31

public void setL31(double L31)

setCC

public void setCC(double CC)

getMU1

public double getMU1()

getMU2

public double getMU2()

getMU3

public double getMU3()

getL11

public double getL11()

getL22

public double getL22()

getL33

public double getL33()

getL12

public double getL12()

getL23

public double getL23()

getL31

public double getL31()

getCC

public double getCC()

setMU1Mode

public void setMU1Mode(PropertyMode mode)

setMU2Mode

public void setMU2Mode(PropertyMode mode)

setMU3Mode

public void setMU3Mode(PropertyMode mode)

setL11Mode

public void setL11Mode(PropertyMode mode)

setL22Mode

public void setL22Mode(PropertyMode mode)

setL33Mode

public void setL33Mode(PropertyMode mode)

setL12Mode

public void setL12Mode(PropertyMode mode)

setL23Mode

public void setL23Mode(PropertyMode mode)

setL31Mode

public void setL31Mode(PropertyMode mode)

setCCMode

public void setCCMode(PropertyMode mode)

getMU1Mode

public PropertyMode getMU1Mode()

getMU2Mode

public PropertyMode getMU2Mode()

getMU3Mode

public PropertyMode getMU3Mode()

getL11Mode

public PropertyMode getL11Mode()

getL22Mode

public PropertyMode getL22Mode()

getL33Mode

public PropertyMode getL33Mode()

getL12Mode

public PropertyMode getL12Mode()

getL23Mode

public PropertyMode getL23Mode()

getL31Mode

public PropertyMode getL31Mode()

getCCMode

public PropertyMode getCCMode()

computeStress

public void computeStress(SymmetricMatrix3d sigma,
                          SolidDeformation def,
                          Matrix3d Q,
                          FemMaterial baseMat)
Overrides:
computeStress in class IncompressibleMaterial

computeTangent

public void computeTangent(Matrix6d c,
                           SymmetricMatrix3d stress,
                           SolidDeformation def,
                           Matrix3d Q,
                           FemMaterial baseMat)
Overrides:
computeTangent in class IncompressibleMaterial

equals

public boolean equals(FemMaterial mat)
Overrides:
equals in class IncompressibleMaterial

clone

public FungMaterial 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 FemMaterial
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 IncompressibleMaterial
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 IncompressibleMaterial
Parameters:
s - scaling factor

isIncompressible

public boolean isIncompressible()
Overrides:
isIncompressible in class IncompressibleMaterial

ddots

public static Matrix6d ddots(Matrix6d a,
                             Matrix6d b)

addTensorProduct4

public static void addTensorProduct4(Matrix6d c,
                                     double s,
                                     Matrix3dBase A,
                                     Matrix3dBase B)