<div>1+2)</div><div>The Coordination number function type (cnfun) determines which definition for the coordination number calculation is used:</div><div> 1 - D3</div><div> 2 - new D3</div><div> 3 - D4</div><div>which updates the Cutoff radius coordination number. </div><div>Therefore, the value from the input is not used. This probably should be fixed, I will open an issue. </div><div><br /></div><div>3) Yes, the values from the dftd4 github are used. </div><div> As far as I can see, at the github the same set of parameters is used.</div><div>https://github.com/dftd4/dftd4/blob/dd4884f0a7abde2bdbed61e035a25e805a3c84ad/src/dftd4/param.f90#L292</div><div><br /></div><div>If you want to use parameters defined somewhere else it might be necessary to extend the input. </div><div><br /></div><div>best,</div><div>Johann Pototschnig</div><div><br /></div><div><br /></div><div><br /></div><br /><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Monday, February 9, 2026 at 2:47:14 PM UTC+1 Torstein Fjermestad wrote:<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><p>CP2K version 2025.2</p>
<p> Dear all, </p>
<p> I am running some test calculations using the D4 dispersion
together with the m06 functional. </p>
<p>I am confused about some of the parameters in the input and
how these correspond to information in the output. </p>
<p>My VDW_POTENTIAL section looks like the following:</p>
<p> </p>
<p> &VDW_POTENTIAL<br>
POTENTIAL_TYPE PAIR_POTENTIAL<br>
&PAIR_POTENTIAL<br>
TYPE DFTD4<br>
D4_CN_CUTOFF 5.29177209<br>
D4_CUTOFF 1.05835442E+001<br>
D4_DEBUG T<br>
D4_REFERENCE_CODE F<br>
FACTOR_S9_TERM 1.00000000E+000<br>
REFERENCE_FUNCTIONAL m06<br>
R_CUTOFF 1.05835442E+001<br>
VERBOSE_OUTPUT T<br>
&PRINT_DFTD DEBUG<br>
&END PRINT_DFTD<br>
&END PAIR_POTENTIAL<br>
&END VDW_POTENTIAL</p>
<p> </p>
<p>The value of D4_CN_CUTOFF is the suggested value in the
manual. </p>
<p> </p>
<p>In the output, the following information is printed:</p>
<p> </p>
<p> !-----------------------------------------------------------------------------!<br>
DEBUG D4 DISPERSION<br>
!-----------------------------------------------------------------------------!<br>
DEBUG D4| Reference functional
m06<br>
DEBUG D4| Scaling parameter (s6)
1.0000<br>
DEBUG D4| Scaling parameter (s8)
0.1637<br>
DEBUG D4| BJ Damping parameter (a1)
0.5346<br>
DEBUG D4| BJ Damping parameter (a2)
6.0619<br>
DEBUG D4| Cutoff value coordination numbers
0.1000E-05<br>
DEBUG D4| Cutoff radius coordination numbers
11.1000<br>
DEBUG D4| Coordination number function type
3<br>
DEBUG D4| Cutoff radius 2-body terms [bohr]
40.0000<br>
DEBUG D4| Cutoff radius 3-body terms [bohr]
40.0000<br>
DEBUG D4| CN differences (max)
0.000001<br>
DEBUG D4| CN differences (ave)
0.000000</p>
<p> </p>
<p>I have the following questions regarding this output
section:</p><p style="margin-left:18pt"></p><ol><li>I don't understand what "Cutoff
radius coordination numbers" means. I could guess that it is the
value of the input parameter D4_CN_CUTOFF, but the value does not match. If D4_CN_CUTOFF
is converted from Ångstrøm to Bohr in the output, the value should be 10 and
not 11.1. Is the value of D4_CN_CUTOFF in the input ignored?</li><li>What does “Coordination number
function type” refer to?</li><li>By comparing the values of the
scaling and BJ damping parameters to the values of the dftd4 Github web page, I
see that the ATM values are used. Is there an input option for choosing the
many-body dispersion parameters instead?</li></ol><p></p><p>
</p>
<p><br></p>
<p>Thanks in advance for your help. </p>
<p>Best regards,</p>
<p>Torstein</p>
<p> </p></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/9419de4e-9d3c-4ae6-a405-930a8adeb63cn%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/9419de4e-9d3c-4ae6-a405-930a8adeb63cn%40googlegroups.com</a>.<br />