hookeai.simulators.fetorch.element.derivatives.gradients.build_discrete_sym_gradient

build_discrete_sym_gradient(shape_fun_deriv, comp_order_sym)[source]

Build discrete symmetric gradient operator.

Parameters:
  • shape_fun_deriv (torch.Tensor(2d)) – Shape functions derivatives evaluated at given local coordinates, sorted according with element nodes. Derivative of the i-th shape function with respect to the j-th local coordinate is stored in shape_fun_deriv[i, j].

  • comp_order_sym (tuple) – Strain/Stress components symmetric order.

Returns:

grad_operator_sym – Discrete symmetric gradient operator evaluated at given local coordinates.

Return type:

torch.Tensor(2d)