get_bravais_type¶
- torch_sim.elastic.get_bravais_type(state, length_tol=1e-3, angle_tol=0.1)[source]¶
Check and return the crystal system of a structure.
This function determines the crystal system by analyzing the lattice parameters and angles without using spglib.
- Parameters:
- Returns:
StrEnum value
- Return type:
BravaisType