Skip to content

Draft: Revisits the frozen density contribution to the Hartree term

Nicolas Tancogne-Dejean requested to merge frozen_density into main

Description

The frozen density contribution to the Hartree term was not properly used, leading to an unstable energy versus time in cases where it was supposed to be constant. The formula is now more consistent, see Issue #724 for more details and formula.

News snippet

Fixes the frozen orbital option for the Hartree energy contribution.

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