Getting started
Features
API
License
Get stress tensor Voigt matricial form.
Compatible with vectorized mapping.
stress (torch.Tensor(2d)) – Stress tensor to be stored in Voigt matricial form.
n_dim (int) – Problem number of spatial dimensions.
comp_order_sym (tuple) – Strain/Stress components symmetric order.
device (torch.device, default=None) – Device on which torch.Tensor is allocated.
stress_vmf – Stress tensor stored in Voigt matricial form.
torch.Tensor(1d)