Skip to content

We skip the k-points with zero weight for the calculation of forces. They are…

Nicolas Tancogne-Dejean requested to merge forces_kweight into develop

Description

We skip the k-points with zero weight for the calculation of forces. They are useless, and this was causing a segmentation fault if symmetries were used together with zero-weight kpoints, e.g. using KPointsPath.

News snippet

Bugfix for the calculation of forces, if KPointsUseSymmetries=yes was used with zero-weight k-points.

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