Wrap at periodic boundaries

Input:Output:

This modifier maps particles that are located outside of the simulation cell back into the box by "wrapping" their coordinates around at the periodic boundaries of the simulation box.

Implementation note

The modifier acts only in spatial directions for which periodic boundary conditions (PBC) are enabled. The PBC flags are usually read from the simulation file.