public class SimpleMuscle extends MuscleMaterial
Modifier and Type | Field and Description |
---|---|
static FunctionPropertyList |
myProps |
DEFAULT_EXCITATION, DEFAULT_REST_DIR
Constructor and Description |
---|
SimpleMuscle() |
SimpleMuscle(double maxStress) |
Modifier and Type | Method and Description |
---|---|
SimpleMuscle |
clone()
Returns a clone of this composite property.
|
void |
computeStressAndTangent(SymmetricMatrix3d sigma,
Matrix6d D,
DeformedPoint def,
Vector3d dir0,
double excitation,
MaterialStateObject state) |
boolean |
equals(FemMaterial mat) |
FunctionPropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
double |
getMaxStress() |
double |
getMaxStress(FieldPoint dp) |
ScalarField |
getMaxStressField() |
ScalarFieldPointFunction |
getMaxStressFunction() |
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 |
setMaxStressField(ScalarField field,
boolean useRestPos) |
void |
setMaxStressFunction(ScalarFieldPointFunction func) |
void |
setMaxStressMode(PropertyMode mode) |
computeStressAndTangent, equals, equals, getExcitation, getRestDir, getRestDir, getRestDirField, getRestDirFunction, getSubClasses, isInvertible, setExcitation, setRestDir, setRestDirField, setRestDirFunction, writeItems
cauchyToSecondPKStress, computeDevLeftCauchyGreen, computeDevRightCauchyGreen, computeLeftCauchyGreen, computeRightCauchyGreen, createStateObject, getIncompressibleComponent, hasState, isCorotated, isIncompressible, isLinear, propertyChanged, registerSubclass, secondPKToCauchyStress
advanceState, getProperty, getPropertyHost, getPropertyInfo, hasProperty, isWritable, postscan, scan, setPropertyHost, setPropertyInfo, symmetryOrStateChanged, updateMaterial, write
public static FunctionPropertyList myProps
public SimpleMuscle()
public SimpleMuscle(double maxStress)
public FunctionPropertyList getAllPropertyInfo()
HasProperties
getAllPropertyInfo
in interface HasProperties
getAllPropertyInfo
in class MuscleMaterial
public void setMaxStress(double maxStress)
public double getMaxStress()
public void setMaxStressMode(PropertyMode mode)
public PropertyMode getMaxStressMode()
public double getMaxStress(FieldPoint dp)
public ScalarFieldPointFunction getMaxStressFunction()
public void setMaxStressFunction(ScalarFieldPointFunction func)
public void setMaxStressField(ScalarField field, boolean useRestPos)
public ScalarField getMaxStressField()
public void computeStressAndTangent(SymmetricMatrix3d sigma, Matrix6d D, DeformedPoint def, Vector3d dir0, double excitation, MaterialStateObject state)
computeStressAndTangent
in class MuscleMaterial
public boolean hasSymmetricTangent()
MaterialBase
hasSymmetricTangent
in class MaterialBase
public boolean equals(FemMaterial mat)
equals
in class FemMaterial
public SimpleMuscle 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