External potentials as interactions
Description
Adding the possibility to specify static external potentials in the Hamiltonian. This uses the new framework as these potentials are derived from the abstract interaction.
News snippet
Adding the possibility to specify static external potentials in the Hamiltonian. This uses the new framework as these potentials are derived from the abstract interaction.
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.