Periodic boundary conditions (PBCs) are a set of boundary conditions that are often chosen for approximating a large (infinite) system by using a small part called a unit cell. PBCs are often used in computer simulations and mathematical models. The topology of two-dimensional PBC is equal to that of a world map in some video games; the unit cell's geometry satisfies perfect two-dimensional tiling, and after an object passes through one side of the cell, it reappears on the opposite side with the same velocity. In topological terms, the space made by two-dimensional PBCs can be thought of as being mapped onto a torus (compactification). The large systems approximated by PBCs consist of an infinite number of unit cells. In computer simulations, one of these is the original simulation box, and the others are copies called images. During the simulation, only the properties of the original simulation box must be recorded and propagated. The minimum-image convention is a common form of PBC particle bookkeeping in which each particle in the simulation interacts with the closest image of the remaining particles. One example of periodic boundary conditions can be defined according to smooth real functions ϕ : R n → R {\displaystyle \phi :\mathbb {R} ^{n}\to \mathbb {R} } by
∂ m ∂ x 1 m ϕ ( a 1 , x 2 , . . . , x n ) = ∂ m ∂ x 1 m ϕ ( b 1 , x 2 , . . . , x n ) , {\displaystyle {\frac {\partial ^{m}}{\partial x_{1}^{m}}}\phi (a_{1},x_{2},...,x_{n})={\frac {\partial ^{m}}{\partial x_{1}^{m}}}\phi (b_{1},x_{2},...,x_{n}),}
∂ m ∂ x 2 m ϕ ( x 1 , a 2 , . . . , x n ) = ∂ m ∂ x 2 m ϕ ( x 1 , b 2 , . . . , x n ) , {\displaystyle {\frac {\partial ^{m}}{\partial x_{2}^{m}}}\phi (x_{1},a_{2},...,x_{n})={\frac {\partial ^{m}}{\partial x_{2}^{m}}}\phi (x_{1},b_{2},...,x_{n}),}
. . . , {\displaystyle ...,}
∂ m ∂ x n m ϕ ( x 1 , x 2 , . . . , a n ) = ∂ m ∂ x n m ϕ ( x 1 , x 2 , . . . , b n ) {\displaystyle {\frac {\partial ^{m}}{\partial x_{n}^{m}}}\phi (x_{1},x_{2},...,a_{n})={\frac {\partial ^{m}}{\partial x_{n}^{m}}}\phi (x_{1},x_{2},...,b_{n})}
… excerpt ends here. Continue reading the full article.



