
which yields

The maximum vector in the reciprocal space used in the summation is EXXRLvcs while the bands summation can be started from SxLowBnd . QPkrange (or alternatively QPErange ) selects the matrix elements (both exchange self-energy and xc potential) to calculate. For the details on the integration in the BZ of the RL and on the treatment of the divergence of the Coulomb interaction refer to RIM.