epfl-theos / koopmans

Implementation of Koopmans-compliant functionals in Quantum ESPRESSO
https://koopmans-functionals.org
GNU General Public License v2.0
13 stars 5 forks source link

Bug fix in setting the number of electrons in kcp in spin-polarized calculations #223

Closed nscolonna closed 4 months ago

nscolonna commented 4 months ago

The general parameters given outside a specific calculator block in the input json file, e.g. tot_magnetization, were not properly used to set up the input files of kcp.x. This leads to a wrong set up of the number of electrons up and down in the kcp.x input files.