Commit f406ccc7 authored by Gregor Michalicek's avatar Gregor Michalicek

Fix storage of wrong Fermi energy when performing qfix at the start of a calculation

parent 2cf2983d
......@@ -150,7 +150,7 @@ CONTAINS
CALL qfix(stars,atoms,sym,vacuum, sphhar,input,cell,oneD,inDen,noco%l_noco,.FALSE.,.false.,fix)
CALL timestop("Qfix")
CALL writeDensity(stars,vacuum,atoms,cell,sphhar,input,sym,oneD,archiveType,CDN_INPUT_DEN_const,&
0,-1.0,0.0,.FALSE.,inDen)
0,-1.0,fermiEnergyTemp,.FALSE.,inDen)
END IF
! Initialize and load inDen density (end)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment