Toward Berry phase as external potential
Description
This merge request moves some of the Berry-phase related code to the external potential routines. This is needed for treating this as an interaction. At the moment this mostly adds a test for the Berry phase and fixes a problem with ND-ND periodic calculation with a static electric field.
News snippet
Starting to move the Berry-phase related code to the external potential routines.
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.
Edited by Nicolas Tancogne-Dejean