Skip to content

improved centering of atomic structures that cross the periodic boundaries

When centering atomic structures, that cross the periodic boundaries, .center() used to split them up. E.g., this could split up a NP into multiple fragments. Pushing the center of mass to the center of the cell first can prevent this from happening.

Merge request reports