When implying periodic boundary conditions as outlined in section 2.1, the total groundstate density n tot thus includes core charges (in contrast to n X and n Z ), so that the so far discussed equations for the separation of the density, the multipole moments, GAPW energy and potential have to be adjusted in this case as