public class NullMaterial extends FemMaterial
myProps| Constructor and Description |
|---|
NullMaterial() |
| Modifier and Type | Method and Description |
|---|---|
double |
computeStrainEnergyDensity(DeformedPoint def,
Matrix3d Q,
double excitation,
MaterialStateObject state)
Computes the current strain energy density.
|
void |
computeStressAndTangent(SymmetricMatrix3d sigma,
Matrix6d D,
DeformedPoint def,
Matrix3d Q,
double excitation,
MaterialStateObject state)
Computes the current Cauchy stress and tangent stiffness matrix.
|
boolean |
isCorotated()
Deformation is computed by first removing a rotation component
(either explicit or computed from strain)
|
boolean |
isInvertible()
Returns true if this material is defined for a deformation gradient
with a non-positive determinant.
|
boolean |
isLinear()
Linear stress/stiffness response to deformation, allows tangent
to be pre-computed and stored.
|
boolean |
isThreadSafe()
Queries whether this material's stress, tangent and energy methods can
be called concurrently from multiple threads (for different deformed
points).
|
cauchyToSecondPKStress, clone, collectFieldBindings, computeDevLeftCauchyGreen, computeDevRightCauchyGreen, computeLeftCauchyGreen, computeRightCauchyGreen, createStateObject, equals, getAllPropertyInfo, getIncompressibleComponent, getSubClasses, hasState, isIncompressible, propertyChanged, registerSubclass, secondPKToCauchyStress, writeItemsadvanceState, createChangeEvent, getProperty, getPropertyHost, getPropertyInfo, hasProperty, hasSymmetricTangent, isWritable, postscan, scaleDistance, scaleMass, scan, setPropertyHost, setPropertyInfo, symmetryOrStateChanged, updateMaterial, writepublic void computeStressAndTangent(SymmetricMatrix3d sigma, Matrix6d D, DeformedPoint def, Matrix3d Q, double excitation, MaterialStateObject state)
computeStressAndTangent in class FemMaterialsigma - 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 double computeStrainEnergyDensity(DeformedPoint def, Matrix3d Q, double excitation, MaterialStateObject state)
FemMaterialcomputeStrainEnergyDensity in class FemMaterialdef - 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 isInvertible()
FemMaterialisInvertible in class FemMaterialpublic boolean isLinear()
FemMaterialisLinear in class FemMaterialpublic boolean isCorotated()
FemMaterialisCorotated in class FemMaterialpublic boolean isThreadSafe()
FemMaterialfalse;
subclasses which are thread safe should override this. If the material
has properties bound to fields (see FemMaterial.collectFieldBindings(java.util.List<artisynth.core.modelbase.FieldComponent>)), then
concurrent use additionally requires that FieldComponent.updateForConcurrentAccess() has been called for each of
those fields.isThreadSafe in class FemMaterialtrue if this material is thread safe