Fix the calculation of the commutator with the position operator on GPU for solids.
Description
Fix the calculation of the commutator with the position operator on GPU for solids.
This affects the default case, in which the orbitals are not on a submesh.
Closes #611
News snippet
Fix the calculation of the commutator with the position operator on GPU for solids.
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