- class matlantis_features.features.elasticity.tensors.StressTensorList(data: List[List[StressTensor]])#
-
Bases:
object
Tensor list object for the stress.
Methods
__init__
(data)Initialize an instance.
get_samples
(vi, vj)Get the stress sample list for the fitting calculation.
- __init__(data: List[List[StressTensor]]) None #
-
Initialize an instance.
- Parameters
-
data (list[list[StressTensor]]) – 2D-list of the stress tensors.
- get_samples(vi: int, vj: int) List[float] #
-
Get the stress sample list for the fitting calculation.
- Parameters
-
-
vi (int) – Voigt index corresponding to the data-point axis.
-
vj (int) – Voigt index corresponding to the stress tensor axis.
-
- Returns
-
List of stress values for the fitting calculation.
- Return type
-
list[float]
Resource Library
matlantis_features.features.elasticity.tensors.StressTensorList