Simulation of electrostatic systems in periodic boundary conditions. II. Equivalence of boundary conditions | Synapse