Skip to content

WIP: Fix Ewald long range part in 2D

Nicolas Tancogne-Dejean requested to merge hotfix_ewald_2D into develop

Description

Fix a bug in the logn-range part of the Ewald summation for 2D systems.

The argument of the exponential should have have no dimension. This bug was causing an infinite loop for thick slabs as the rcut was never converging.

News snippet

Fix a bug in the logn-range part of the Ewald summation for 2D systems.

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

Merge request reports