elasticitybase
ElasticityBase
Bases: HashableBaseModelIO
, CalibrationABC
Base class for elastic material models.
voigt_notation
class-attribute
instance-attribute
voigt_notation: bool = False
Whether to use Voigt's notation for the stiffness and compliance matrices.
get
Get an array of values with the given parameters, or a float if no parameters are provided or the parameters are scalars.
PARAMETER | DESCRIPTION |
---|---|
var
|
Variable name.
TYPE:
|
kwargs
|
Keyword arguments for the parameters, key is the parameter name and value is the parameter values. Length of the values must be the same. |
setParameters
setParameters(
params: Dict[str, Any] | None = None,
*,
force: bool = False,
experiment: Experiment | None = None,
experiments: (
Experiment | Iterable[Experiment] | Dict[str, Experiment] | None
) = None,
**kwargs
)
Set parameters.
PARAMETER | DESCRIPTION |
---|---|
params
|
Dictionary of parameters to set.
TYPE:
|
force
|
Set parameters even if they are not in the model.
TYPE:
|
experiment
|
Current experiment, used for custom calibration key.
TYPE:
|
experiments
|
Experiments, used for custom calibration key.
TYPE:
|