Molecular Dynamics, Modeling, Algorithms, Python, Programming.
tiling” effect can be ensured by translating the positions of the atoms by the unit cell length as they cross the unit cell wall boundaries, so their new position is inside the unit cell. This type of wall is enforced using a simple algorithm like the one written below— assuming we have a square