hookeai.simulators.fetorch.element.integrations.internal_forces.vbuild_discrete_sym_gradient¶
- vbuild_discrete_sym_gradient(shape_fun_deriv, comp_order_sym)[source]¶
Build discrete symmetric gradient operator.
Compatible with vectorized mapping.
- 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)