using pbc_diff now in tetrahedral_order parameter calculation, since reference positions will not be periodic images in the default use case #5
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/tetrahedral_order_pbc"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Calculation of the tetrahedral order parameter was usually wrong now, as the code did not force one to use periodic images as reference atoms and thus, the difference vectors did not take into account the periodic nature of the system.
The quick fix uses pbc_diff. If someone knows of an edge case where this leads to an unintended result, you are welcome to make a more appropriate fix.