Fixes, assertions and forbiden options when calculating periodic forces
Description
Several things:
- Fix forces for 2D systems periodic in 2D.
- Do not calculated forces for systems periodic in 1D anymore, as they were not correctly computed.
- Forbid some TD output options and do not allow to move ions when periodic in 1D.
News snippet
Fixes, assertions and forbiden options when calculating periodic forces.
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.