Skip to content

Cleaning epot

Nicolas Tancogne-Dejean requested to merge cleaning_epot into develop

Description

For periodic systems, the code was always evaluating the local potential based on the spline ps%nlr and a poisson equation, irrespective of this density to be present or not. The code now works the same way for periodic and non-periodic systems. The alternative path, (which use the spline ps%vlr) is now implemented for periodic systems.

News snippet

Bugfix for periodic systems, in case of pseudopotentials without the nlr spline.

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.

Merge request reports