<div dir="ltr">Hi everyone,<div><br></div><div>It appears (at least to me) that the localization of the Wannier orbitals in CP2K should be based on the work of Berghold et al., Phys. Rev. B 61, <span style="color: rgb(0, 0, 0); white-space: pre-wrap;">10040 (2000). However, in the output, after the localization phase, the code prints:</span></div><div><span style="color: rgb(0, 0, 0); white-space: pre-wrap;"><br></span></div><div><font color="#000000"><span style="white-space: pre-wrap;">"Spread Functional     sum_in -w_i ln(|z_in|^2)    sum_in w_i(1-|z_in|^2)"</span></font><br></div><div><font color="#000000"><span style="white-space: pre-wrap;"><br></span></font></div><div><font color="#000000"><span style="white-space: pre-wrap;">which are the spread functionals (Berghold et al., Eq. (13) and (14)) introduced by Resta (Phys. Rev. Lett. 82, 370 (1999)) and Silvestrelli (Phys. Rev. B 59, 9703 (1999)), respectively. The Berghold et al.'s introduced spread functional, however, reads</span></font></div><div><font color="#000000"><span style="white-space: pre-wrap;"><br></span></font></div><div><span style="color: rgb(0, 0, 0); white-space: pre-wrap;">"sum_in w_i(1-|z_in|)" (Berghold et al., Eq. (12))</span><font color="#000000"><span style="white-space: pre-wrap;"><br></span></font></div><div><span style="color: rgb(0, 0, 0); white-space: pre-wrap;"><br></span></div><div><span style="color: rgb(0, 0, 0); white-space: pre-wrap;">and has not been mentioned in the code, as far as I could get.</span></div><div><span style="color: rgb(0, 0, 0); white-space: pre-wrap;"><br></span></div><div><font color="#000000"><span style="white-space: pre-wrap;">Could anyone please clarify which functional is exactly used in the code? Or perhaps I'm missing a point here?</span></font></div><div><font color="#000000"><span style="white-space: pre-wrap;"><br></span></font></div><div><font color="#000000"><span style="white-space: pre-wrap;">Thanks in advance,</span></font></div><div><font color="#000000"><span style="white-space: pre-wrap;">Pouya</span></font></div></div>