triclinic_symmetry¶
- torch_sim.elastic.triclinic_symmetry(strains)[source]¶
Generate equation matrix for triclinic crystal symmetry.
Constructs the stress-strain relationship matrix for triclinic symmetry, which has 21 independent elastic constants (the most general case).
- Parameters:
strains (Tensor) – Tensor of shape (6,) containing strain components [εxx, εyy, εzz, εyz, εxz, εxy]
- Returns:
- Matrix of shape (6, 21) where columns correspond to
all possible elastic constants in order: [C11, C12, C13, C14, C15, C16,
- C22, C23, C24, C25, C26,
- C33, C34, C35, C36,
- C44, C45, C46,
- C55, C56,
C66]
- Return type: