elasticitybase
ElasticityBase
Bases: HashableBaseModelIO, CalibrationABC
Base class for elastic material models.
voigt_notation
class-attribute
instance-attribute
Whether to use Voigt's notation for the stiffness and compliance matrices.
get
get(
var: str, *, callable_kwargs: Dict | None = None, **kwargs: Iterable | float
) -> ndarray | float
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:
|
callable_kwargs
|
Keyword arguments for callables.
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.
TYPE:
|
getitem
Get value of an attribute, support expressions and keyword arguments for callables.
setParameters
setParameters(
params: Dict[str, Any] | None = None,
*,
force: bool = False,
experiment: 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:
|