<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
Hi
<div><br>
</div>
<div>What you show there are matrix elements, not potentials. V_HARTREE_CUBE prints a cube file of the total electrostatic potential,</div>
<div>i.e. the potential of rho(electrons) + rho(core). For GAPW this is not available. If you want to program it yourself, see the corresponding</div>
<div>Routine for the density cube files.</div>
<div>Regards</div>
<div>JH<br id="lineBreakAtBeginningOfMessage">
<div><br>
<blockquote type="cite">
<div>On 10 Jan 2025, at 14:03, chaizi...@gmail.com <chaiziwei2009@gmail.com> wrote:</div>
<br class="Apple-interchange-newline">
<div>Dear Prof. Hutter,
<div><br>
</div>
<div>I would like to ask if there are any ways to correctly print out the Hartree potential (contributed by ions and electrons) in the GAPW scheme, by modifing the codes?</div>
<div><br>
</div>
<div>Many thanks!</div>
<div><br>
</div>
<div>Kind regards,</div>
<div>Ziwei<br>
<br>
</div>
<div class="gmail_quote">
<div dir="auto" class="gmail_attr">在2025年1月10日星期五 UTC+1 10:54:23<Jürg Hutter> 写道:<br>
</div>
<blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi <br>
<br>
have a look at <br>
<br>
FORCE_EVAL / DFT / PRINT / V_HARTREE_CUBE <br>
<br>
GAPW output might not be available. <br>
<br>
regards <br>
JH <br>
<br>
________________________________________ <br>
From: <a href="" data-email-masked="" rel="nofollow">cp...@googlegroups.com</a> <<a href="" data-email-masked="" rel="nofollow">cp...@googlegroups.com</a>> on behalf of
<a href="" data-email-masked="" rel="nofollow">chaizi...@gmail.com</a> <<a href="" data-email-masked="" rel="nofollow">chaizi...@gmail.com</a>>
<br>
Sent: Thursday, January 9, 2025 10:52 PM <br>
To: cp2k <br>
Subject: [CP2K:21025] Total electrostatic potential of nuclei and electrons <br>
<br>
Hello CP2K developers and users, <br>
<br>
I would like to inquire about the possibility of representing the total electrostatic potential of nuclei and electrons on a grid (for output as a cube file), in both the GAPW and GPW cases. Specifically, is there a convenient way to collocate the contribution
of the nuclear potential, as represented in the core Hamiltonian, onto the grid?
<br>
<br>
Thank you in advance for your assistance. <br>
<br>
Kind regards, <br>
Ziwei <br>
<br>
-- <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="" data-email-masked="" rel="nofollow">cp2k+uns...@googlegroups.com</a><mailto:<a href="" data-email-masked="" rel="nofollow">cp2k+uns...@googlegroups.com</a>>.
<br>
To view this discussion visit <a href="https://groups.google.com/d/msgid/cp2k/33164c95-6465-4263-bd1c-5f8e4ea55df9n%40googlegroups.com" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=zh-CN&q=https://groups.google.com/d/msgid/cp2k/33164c95-6465-4263-bd1c-5f8e4ea55df9n%2540googlegroups.com&source=gmail&ust=1736600001658000&usg=AOvVaw1YdVF7FUKeZjcM_lo_5l9o">
https://groups.google.com/d/msgid/cp2k/33164c95-6465-4263-bd1c-5f8e4ea55df9n%40googlegroups.com</a><<a href="https://groups.google.com/d/msgid/cp2k/33164c95-6465-4263-bd1c-5f8e4ea55df9n%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=zh-CN&q=https://groups.google.com/d/msgid/cp2k/33164c95-6465-4263-bd1c-5f8e4ea55df9n%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1736600001658000&usg=AOvVaw3xeOZZ9lGlK9udmTWCn1wu">https://groups.google.com/d/msgid/cp2k/33164c95-6465-4263-bd1c-5f8e4ea55df9n%40googlegroups.com?utm_medium=email&utm_source=footer</a>>.
<br>
</blockquote>
</div>
<div><br class="webkit-block-placeholder">
</div>
-- <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/eadf6a36-7333-4d8b-abf6-e3a51f8fbee4n%40googlegroups.com?utm_medium=email&utm_source=footer">
https://groups.google.com/d/msgid/cp2k/eadf6a36-7333-4d8b-abf6-e3a51f8fbee4n%40googlegroups.com</a>.<br>
</div>
</blockquote>
</div>
<br>
</div>
</body>
</html>
<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/F46301B3-9D66-4AE0-9D93-371671B2A14E%40chem.uzh.ch?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/F46301B3-9D66-4AE0-9D93-371671B2A14E%40chem.uzh.ch</a>.<br />