<div dir="ltr">Oh wow, excellent!  How does one post-process?</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 1, 2018 at 4:06 PM, Matt W <span dir="ltr"><<a href="mailto:mattwa...@gmail.com" target="_blank">mattwa...@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The code is<div><br></div><div><pre id="m_6886866067148423692hterm:copy-to-clipboard-source" style="color:rgb(0,0,0)">         IF (dft_control%qs_control%gapw) THEN
            CALL pw_transfer(rho0_s_gs%pw, wf_r%pw)
            IF (dft_control%qs_control%gapw_<wbr>control%nopaw_as_gpw) THEN
               CALL pw_axpy(rho_core%pw, wf_r%pw)
            END IF
         ELSE
            CALL pw_transfer(rho_core%pw, wf_r%pw)
         END IF</pre><div><br></div><div>So for GPW it will add in a Gaussian charge with value +Zeffective centred on the atoms the same as is done when calculating electrostatics (see original paper).</div><div><br></div><div>It is quite possible to post process the results of a trajectory to add in an atom centred density.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Matt</div></font></span><span class=""><br>On Tuesday, May 1, 2018 at 8:54:09 PM UTC+1, Ada Sedova wrote:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><div dir="ltr">Right- I know you said that. The response from David didn't seem to relate to the original question. You also said you hadn't tried it. The link to the cp2k forum discussion I added above shows that it does not in fact add it, if you are not using GAPW.<div><br></div><div>So, the question is, does it add it or not? It seems from the above, it does not. Someone familiar with the code would have to determine if this is true or not. For me, I have tens of picoseconds of simulation for systems with hundred of atoms, and re-running this to check would be a pain. I would do it if I knew for sure it would work. I'm trying to monitor the changing densities.</div><div><br></div><div> </div></div></span><div><div class="h5"><div><br><div class="gmail_quote">On Tue, May 1, 2018 at 1:21 PM, Matt W <span dir="ltr"><<a rel="nofollow">matt...@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>According to Matt, just running with the TOTAL...etc command will add the core electrons. Are you saying this works? Because a previous thread, linked above, describes this as not working unless you are using GAPW, not just GPW.</div><div><br></div></div></blockquote><div><br></div></span><div>Hi Ada,</div><div><br></div><div>no, I said it would a add in a core charge at the nuclei equal to the Z effective of the pseudo at the atom centre. </div><div><br></div><div>What is required for getting a correct topological description to get AIM descriptors? I haven't read up on it.</div><div><br></div><div>Adding in an atomic density that does not respond to the valence density could be made into a fairly simple post-processing step - is that what is needed, the [core] atom density (from an isolated atom) added to the density cube file?</div><div><br></div><div>Matt</div><div> </div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div><div>-Ada</div><div><br></div><div><br></div></div><div><div><div><br><div class="gmail_quote">On Tue, May 1, 2018 at 9:33 AM, David T <span dir="ltr"><<a rel="nofollow">amazi...@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You are right Matt.<div>I did it for the 1st time in this article: <a href="https://pubs.acs.org/doi/abs/10.1021/jp901753p" rel="nofollow" target="_blank">https://pubs.acs.org/doi/abs/1<wbr>0.1021/jp901753p</a></div><div><br></div><div>Sadly Henkelman and VASP persons have started using my Algorithm without citing it... but that is another story....</div><div><div><div><br><br>On Tuesday, 17 April 2018 19:19:13 UTC+1, Matt W  wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I _think_ it should add the approximate core charge for GPW (i.e. a gaussian with charge +Z centred on the atom), which should be enough for the correct topology for AIM. <br><br>I'm not speaking from experience though. May well be wrong.<br><br>On Tuesday, April 17, 2018 at 7:08:09 PM UTC+1, Ada Sedova wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I think that only works if you're using GAPW, though, am I right? Because if you are not calculating the core electrons they won't print? At least that's according to another thread I read on this forum...</div><div><br><div class="gmail_quote">On Tue, Apr 17, 2018 at 12:49 PM, Matt W <span dir="ltr"><<a rel="nofollow">matt...@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><a href="https://manual.cp2k.org/cp2k-5_1-branch/CP2K_INPUT/FORCE_EVAL/DFT/PRINT/TOT_DENSITY_CUBE.html" rel="nofollow" target="_blank">https://manual.cp2k.org/cp2k-5<wbr>_1-branch/CP2K_INPUT/FORCE_EVA<wbr>L/DFT/PRINT/TOT_DENSITY_CUBE.<wbr>html</a><div><br></div><div>I think.<br><br>On Tuesday, April 17, 2018 at 5:14:12 PM UTC+1, Ada Sedova wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all-<div>There was a thread from 2016 about finding a way to add core electrons to a cp2k cube file so that Bader analysis can be performed with Henkelman's code, which takes cube files, but of the Gaussian format, which includes all electrons. There was no definitive solution posted, but a suggestion was to hack the Manz DDEC code to add core electrons and print out a new cube. The Manz code has gone through some changes and a brief look at it did not reveal a rewrite option. </div><div><br></div><div>I was wondering if there have been any updates on the ability to use Henkelman's with a cp2k cube file. The other option would be to create a VASP CHGCAR file from a cp2k cube file, but the core electrons still need to be added somehow.</div><div><br></div><div>Thanks!</div><div>AS</div></div></blockquote></div></div><span><font color="#888888">

<p></p>

-- <br>
You received this message because you are subscribed to a topic in the Google Groups "cp2k" group.<br>
To unsubscribe from this topic, visit <a href="https://groups.google.com/d/topic/cp2k/IVj1WAxCAYs/unsubscribe" rel="nofollow" target="_blank">https://groups.google.com/d/to<wbr>pic/cp2k/IVj1WAxCAYs/unsubscri<wbr>be</a>.<br>
To unsubscribe from this group and all its topics, send an email to <a rel="nofollow">cp2k+...@googlegroups.com</a>.<br>
To post to this group, send email to <a rel="nofollow">cp...@googlegroups.com</a>.<br>
Visit this group at <a href="https://groups.google.com/group/cp2k" rel="nofollow" target="_blank">https://groups.google.com/grou<wbr>p/cp2k</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank">https://groups.google.com/d/op<wbr>tout</a>.<br>
</font></span></blockquote></div><br></div>
</blockquote></div></blockquote></div></div></div></div><div><div>

<p></p>

-- <br>
You received this message because you are subscribed to a topic in the Google Groups "cp2k" group.<br>
To unsubscribe from this topic, visit <a href="https://groups.google.com/d/topic/cp2k/IVj1WAxCAYs/unsubscribe" rel="nofollow" target="_blank">https://groups.google.com/d/to<wbr>pic/cp2k/IVj1WAxCAYs/unsubscri<wbr>be</a>.<br>
To unsubscribe from this group and all its topics, send an email to <a rel="nofollow">cp2k+...@googlegroups.com</a>.<br>
To post to this group, send email to <a rel="nofollow">cp...@googlegroups.com</a>.<br>
Visit this group at <a href="https://groups.google.com/group/cp2k" rel="nofollow" target="_blank">https://groups.google.com/grou<wbr>p/cp2k</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank">https://groups.google.com/d/op<wbr>tout</a>.<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><div><div>

<p></p>

-- <br>
You received this message because you are subscribed to a topic in the Google Groups "cp2k" group.<br>
To unsubscribe from this topic, visit <a href="https://groups.google.com/d/topic/cp2k/IVj1WAxCAYs/unsubscribe" rel="nofollow" target="_blank">https://groups.google.com/d/to<wbr>pic/cp2k/IVj1WAxCAYs/unsubscri<wbr>be</a>.<br>
To unsubscribe from this group and all its topics, send an email to <a rel="nofollow">cp2k+...@googlegroups.com</a>.<br>
To post to this group, send email to <a rel="nofollow">cp...@googlegroups.com</a>.<br>
Visit this group at <a href="https://groups.google.com/group/cp2k" rel="nofollow" target="_blank">https://groups.google.com/grou<wbr>p/cp2k</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank">https://groups.google.com/d/op<wbr>tout</a>.<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div></div><div class="HOEnZb"><div class="h5">

<p></p>

-- <br>
You received this message because you are subscribed to a topic in the Google Groups "cp2k" group.<br>
To unsubscribe from this topic, visit <a href="https://groups.google.com/d/topic/cp2k/IVj1WAxCAYs/unsubscribe" target="_blank">https://groups.google.com/d/<wbr>topic/cp2k/IVj1WAxCAYs/<wbr>unsubscribe</a>.<br>
To unsubscribe from this group and all its topics, send an email to <a href="mailto:cp2k+uns...@googlegroups.com" target="_blank">cp2k+unsubscribe@googlegroups.<wbr>com</a>.<br>
To post to this group, send email to <a href="mailto:cp...@googlegroups.com" target="_blank">cp...@googlegroups.com</a>.<br>
Visit this group at <a href="https://groups.google.com/group/cp2k" target="_blank">https://groups.google.com/<wbr>group/cp2k</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/<wbr>optout</a>.<br>
</div></div></blockquote></div><br></div>