<div>Folks,</div><div>I have a 2-dimensionally periodic system and want to create a cube file for Bader analysis (with the Henkelman program). I am using the TOTAL_HARD_APPROX keyword to take care of the core charges. But the cube file I get contains no charges. The first lines are:</div><div><br /></div><div>-Quickstep-<br />ELECTRON DENSITY<br />  217    0.000000    0.000000    0.000000<br />  122    0.234963    0.000000    0.000000<br />  108    0.000000   -0.228920    0.000000<br />  200    0.000000    0.000000    0.236216<br />    8    0.000000   21.546059  -14.495211   21.850861<br />    1    0.000000   22.840666  -13.745938   23.284968<br />    6    0.000000    2.379002   -6.501607   19.060353<br />...</div><div><br /></div><div>and when it comes to the values on the grid after the atom information, all vales are zero. Am I doing something wrong, or does this not work for periodic systems? I attach the input file for a smallish model system. The version number is CP2K version 2025.1.</div><div><br /></div><div>Thanks in advance,</div><div><br /></div><div>  Herbert</div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "cp2k" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k+unsubscribe@googlegroups.com">cp2k+unsubscribe@googlegroups.com</a>.<br />
To view this discussion visit <a href="https://groups.google.com/d/msgid/cp2k/dfaf463e-5f7a-46d5-ba50-5e3cc22b424fn%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/dfaf463e-5f7a-46d5-ba50-5e3cc22b424fn%40googlegroups.com</a>.<br />