For example, attached input file calculates all three types of partial charges for an isolated C₂H₂ molecule with PBE functional and 6-31G(d,p) basis set. Some notable options are:<br />1) `&CELL` section defines fake cubic cell, and `&CENTER_COORDINATES` centers the molecule in it instead of using (0, 0, 0) as a center;<br />2) `PERIODIC NONE` has to be specified both in `&CELL` and `&POISSON` sections;<br />3) POISSON_SOLVER WAVELET is used, and `PREFERRED_FFT_LIBRARY FFTSG` is added to `&GLOBAL` because of that;<br />4) `&PRINT` in `&DFT` requests calculation of three types of charges;<br />5) `METHOD GAPW` and `BASIS_SET_FILE_NAME EMSL_BASIS_SETS` are required for using all-electron `BASIS_SET "6-31Gxx"` in atom `&KIND` sections.<br /><br /><div class="gmail_quote"><div dir="auto" class="gmail_attr">воскресенье, 28 сентября 2025 г. в 12:39:35 UTC+3, Konstantin Tokarev: <br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hello,<br><br>CP2K supports Mulliken, Hirshfeld and Löwdin population analysis. The former two are enabled by default at PRINT_LEVEL MEDIUM, however it's possible to enable or disable them explicitly via respective options<span style="font-family:monospace"><span style="color:rgb(198,198,198);background-color:rgb(0,0,0)"></span></span> in the input file, e.g. FORCE_EVAL/DFT/PRINT/MULLIKEN and so on. See the manual [1] for more details.<br><br>If you want to compare results with other software like Gaussian, make sure you are using the same kind of population analysis, and other conditions of the calculation are the same. E.g. if you calculate isolated molecule in vacuum, make sure the you define it in CP2K as a non-periodic system, and you use the same DFT functional and the same (probably all-electron) basis set in both programs.<br><br>[1] <a href="https://manual.cp2k.org/trunk/CP2K_INPUT/FORCE_EVAL/DFT/PRINT.html" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=ru&q=https://manual.cp2k.org/trunk/CP2K_INPUT/FORCE_EVAL/DFT/PRINT.html&source=gmail&ust=1759139910662000&usg=AOvVaw0jRGgC_6nz4mcTuBP47dqW">https://manual.cp2k.org/trunk/CP2K_INPUT/FORCE_EVAL/DFT/PRINT.html</a><br><br><div><div dir="auto">суббота, 27 сентября 2025 г. в 14:20:28 UTC+3, Maryam Bahrami: <br></div></div><div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Dear all</div>I am new to cp2k. I want to compute the partial atomic charges on amino acid  molecule using cp2k. Is the charge computed from cp2k accurate like computed from Gaussian software? Is it possible to compute accurate charge using cp2k? Please let me know.<div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small"><span style="color:rgba(0,0,0,0.87);font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px">please help me how to compute charge on atoms by CP2K.</span></div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small"><span style="color:rgba(0,0,0,0.87);font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px">Thanks</span></div></blockquote></div></blockquote></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/d66ecb6b-f621-4bef-bd8c-91c1b5324bf2n%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/d66ecb6b-f621-4bef-bd8c-91c1b5324bf2n%40googlegroups.com</a>.<br />