Skip to content

Bugfix: forces with multiple electric fields

Nicolas Tancogne-Dejean requested to merge force_efield into hotfix-11.3

Description

Fix a bug in the calculation of forces coming from the electric field, in case of multiple laser fields. Fix a bug that was preventing to get the output forces_separate in case of not moving ions.

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