Bugfix: forces with multiple electric fields
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