Fix singularity
Description
Fixes two problems with the Coulomb singularity correction: - the zero weight k-points should not contribute to the volume of the cristal - the weight of the k-points must be used, in case zero-weight k-points are used, or symmetries.
News snippet
Fixes to special cases for the Coulomb singularity correction.
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.