triqs_dftkit.vasp.symmetry.atom_permutation
- triqs_dftkit.vasp.symmetry.atom_permutation(R_cart, positions, lattice, type_of_ion, tol=0.0001)[source]
Permutation of the crystal atoms under the Cartesian operation
R_cart.A global fractional translation
t(space-group translation) is detected so the routine works for symmorphic operations regardless of cell origin. Returns a 1-indexed permutation arraypermsuch that atomjmaps to atomperm[j](1-indexed), orNoneif no consistent permutation is found (e.g. a genuinely non-symmorphic operation needing its own glide/screw translation, not handled here).