public class ScaledFemMaterial extends FemMaterial
Modifier and Type | Field and Description |
---|---|
static FunctionPropertyList |
myProps |
Constructor and Description |
---|
ScaledFemMaterial() |
ScaledFemMaterial(FemMaterial baseMat,
double scaling) |
Modifier and Type | Method and Description |
---|---|
void |
advanceState(MaterialStateObject state,
double t0,
double t1) |
ScaledFemMaterial |
clone()
Returns a clone of this composite property.
|
void |
computeStressAndTangent(SymmetricMatrix3d sigma,
Matrix6d D,
DeformedPoint def,
Matrix3d Q,
double excitation,
MaterialStateObject state)
Computes the current Cauchy stress and tangent stiffness matrix.
|
MaterialStateObject |
createStateObject() |
boolean |
equals(FemMaterial mat) |
FunctionPropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
FemMaterial |
getBaseMaterial() |
IncompressibleMaterialBase |
getIncompressibleComponent() |
double |
getScaling() |
double |
getScaling(FieldPoint dp) |
ScalarField |
getScalingField() |
ScalarFieldPointFunction |
getScalingFunction() |
boolean |
hasState() |
java.lang.String[] |
initializePropertyValues(FemMaterial mat)
If possible, initializes the baseMaterial property in this
ScaledFemMaterial from another FemMaterial.
|
boolean |
isCorotated()
Deformation is computed by first removing a rotation component
(either explicit or computed from strain)
|
boolean |
isIncompressible() |
boolean |
isLinear()
Linear stress/stiffness response to deformation, allows tangent
to be pre-computed and stored.
|
void |
setBaseMaterial(FemMaterial baseMat) |
void |
setScaling(double scaling) |
void |
setScalingField(ScalarField field,
boolean useRestPos) |
void |
setScalingFunction(ScalarFieldPointFunction func) |
cauchyToSecondPKStress, computeDevLeftCauchyGreen, computeDevRightCauchyGreen, computeLeftCauchyGreen, computeRightCauchyGreen, getSubClasses, isInvertible, propertyChanged, registerSubclass, secondPKToCauchyStress, writeItems
getProperty, getPropertyHost, getPropertyInfo, hasProperty, hasSymmetricTangent, isWritable, postscan, scaleDistance, scaleMass, scan, setPropertyHost, setPropertyInfo, symmetryOrStateChanged, updateMaterial, write
public static FunctionPropertyList myProps
public ScaledFemMaterial()
public ScaledFemMaterial(FemMaterial baseMat, double scaling)
public FunctionPropertyList getAllPropertyInfo()
HasProperties
getAllPropertyInfo
in interface HasProperties
getAllPropertyInfo
in class FemMaterial
public double getScaling()
public void setScaling(double scaling)
public double getScaling(FieldPoint dp)
public ScalarFieldPointFunction getScalingFunction()
public void setScalingFunction(ScalarFieldPointFunction func)
public void setScalingField(ScalarField field, boolean useRestPos)
public ScalarField getScalingField()
public java.lang.String[] initializePropertyValues(FemMaterial mat)
This method is called via reflection in the CompositePropertyPanel code, to help initialize the ScaledFemMaterial from any previous material that had been selected. It returns an array of the names of the properties that were set, if any.
public void setBaseMaterial(FemMaterial baseMat)
public FemMaterial getBaseMaterial()
public boolean equals(FemMaterial mat)
equals
in class FemMaterial
public ScaledFemMaterial clone()
CompositeProperty
clone
in interface CompositeProperty
clone
in interface Clonable
clone
in class FemMaterial
public boolean hasState()
hasState
in interface HasMaterialState
hasState
in class FemMaterial
public MaterialStateObject createStateObject()
createStateObject
in interface HasMaterialState
createStateObject
in class FemMaterial
public void advanceState(MaterialStateObject state, double t0, double t1)
advanceState
in interface HasMaterialState
advanceState
in class MaterialBase
public void computeStressAndTangent(SymmetricMatrix3d sigma, Matrix6d D, DeformedPoint def, Matrix3d Q, double excitation, MaterialStateObject state)
computeStressAndTangent
in class FemMaterial
sigma
- returns the Cauchy stressD
- optional; if non-null
, returns the tangent matrixdef
- deformation information, including deformation gradient and
pressureQ
- coordinate frame specifying directions of anisotropyexcitation
- current excitation valuestate
- material state information, or null
if the
material does not have state.public boolean isIncompressible()
isIncompressible
in class FemMaterial
public boolean isLinear()
FemMaterial
isLinear
in class FemMaterial
public boolean isCorotated()
FemMaterial
isCorotated
in class FemMaterial
public IncompressibleMaterialBase getIncompressibleComponent()
getIncompressibleComponent
in class FemMaterial