Fixes some signes for the magnetic term in the Hamiltonian
Description
The code was wrong twice:
- The vector potential corresponding to a uniform B-field was negeted wrongly
- The magnetic term in the Hamiltonian was wrong too.
Some documentation is added to explain the signs.
Also improves the value of the gyromagnetic ratio to most recent value.
News snippet
Fix internally wrong signs. Do not change the results.
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.