<div>Thank you for the reply! I will test it out and see if I get any funky behaviour, then.</div><div><br></div><div>All the best,</div><div>Nicklas<br></div><br><div class="gmail_quote"><div dir="auto" class="gmail_attr">onsdag 16 juni 2021 kl. 10:44:45 UTC+2 skrev jgh:<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>I don't have experience with changing that parameter. You will have
<br>to do the tests. Probably there will be a relation to the integration
<br>accuracy on the grid. I would suggest to go for larger cutoffs, but
<br>also this will have to be tested.
<br>
<br>regards
<br>
<br>Juerg Hutter 
<br>--------------------------------------------------------------
<br>Juerg Hutter                         Phone : <a href="tel:+41%2044%20635%2044%2091" value="+41446354491" target="_blank" rel="nofollow">++41 44 635 4491</a>
<br>Institut für Chemie C                FAX   : <a href="tel:+41%2044%20635%2068%2038" value="+41446356838" target="_blank" rel="nofollow">++41 44 635 6838</a>
<br>Universität Zürich                   E-mail: <a href data-email-masked rel="nofollow">h...@chem.uzh.ch</a>
<br>Winterthurerstrasse 190
<br>CH-8057 Zürich, Switzerland
<br>---------------------------------------------------------------
<br>
<br>-----<a href data-email-masked rel="nofollow">c...@googlegroups.com</a> wrote: -----
<br>To: "cp2k" <<a href data-email-masked rel="nofollow">c...@googlegroups.com</a>>
<br>From: "Nicklas Österbacka" 
<br>Sent by: <a href data-email-masked rel="nofollow">c...@googlegroups.com</a>
<br>Date: 06/14/2021 03:50PM
<br>Subject: [CP2K:15563] Hirshfeld-I charges with higher precision
<br>
<br>Hi!
<br>
<br>I am planning a project on constructing a machine learning potential based on CP2K calculations, and as part of this I need access to dependable partial charges. Self-consistent Hirshfeld with SHAPE_FUNCTION DENSITY seems to be the best option in CP2K as I would like to avoid post-processing of potentially hundreds of gigabytes of data.
<br>
<br>Digging through the source code, it seems that the comp_hirshfeld_i_charges routine proceeds until the total charge residual is less than 1e-2. I am not sure this is enough to train a reliable machine learning model, however, so I would like to change it to something stricter to be on the safe side. Is this safe to do, or could that lead to e.g. numerical instabilities? Changing it to 1e-4 or 1e-5 would probably be enough for my purposes.
<br>
<br>All the best,
<br>Nicklas  
<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">cp...@googlegroups.com</a>.
<br> To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/a445f21e-5220-4921-b9b3-36493ab0cf56n%40googlegroups.com" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=sv&q=https://groups.google.com/d/msgid/cp2k/a445f21e-5220-4921-b9b3-36493ab0cf56n%2540googlegroups.com&source=gmail&ust=1624107601923000&usg=AFQjCNHmB4xY3m9oxJD-ouk2NkQenaAMzw">https://groups.google.com/d/msgid/cp2k/a445f21e-5220-4921-b9b3-36493ab0cf56n%40googlegroups.com</a>.
<br> 
<br></blockquote></div>