operators¶
Operator |
Supported tensor orders |
Vectorized |
Example configuration |
---|---|---|---|
mechkit.operators.Sym(axes).__call__ |
any |
no |
axes=[0,1] symmetrizes the first two axes |
mechkit.operators.Sym_Fourth_Order_Special(label).__call__ |
4 |
no |
label=”major” takes the major symmetric part, supported labels are [“left”, “right”, “major”, “inner”, “complete”] |
mechkit.operators.dev |
2, 4 |
no |
none |
- class mechkit.operators.Sym(axes=None)[source]¶
Based on the axes argument of the class initiation, the returned instance act as a symmetrization function, which symmetrices a given tensor with respect to the specified axes. If axes is None, all axes of the tensor are symmetrized
- class mechkit.operators.Sym_Fourth_Order_Special(label=None)[source]¶
Based on the label argument of the class initiation, the returned instance act as a symmetrization function, which symmetrices a given tensor with respect to the selected symmetry, following [10].
- mechkit.operators.dev_tensor_4th_order_simple(tensor)[source]¶
Simple formulation taking the deviatoric part of a fourth order tensor
- mechkit.operators.dev(tensor, order=4)[source]¶
Get deviatoric part of tensors: Wrapper for dev_tensor_2nd_order and dev_tensor_4th_order_simple