Getting started
Features
API
License
Build strain tensor from given components.
n_dim (int) – Number of spatial dimensions.
strain_comps_order (tuple[str]) – Strain components order.
strain_comps_array (torch.Tensor(1d)) – Strain components array.
device (torch.device, default=None) – Device on which torch.Tensor is allocated.
strain – Strain tensor.
torch.Tensor(2d)