hookeai.simulators.fetorch.math.voigt_notation.get_strain_from_vmf

get_strain_from_vmf(strain_vmf, n_dim, comp_order_sym, device=None)[source]

Recover strain tensor from associated Voigt matricial form.

Parameters:
  • strain_vmf (torch.Tensor(1d)) – Strain tensor 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.

Returns:

strain – Strain tensor recovered from Voigt matricial form.

Return type:

torch.Tensor(2d)