Commit 944082f
committed
DeltaP PW force decomposition: add [DeltaP-F] diagnostic output
Split DeltaP constraint force into separate temp buffer before
accumulating into total force, printing [DeltaP-F] to stdout.
H2O force decomposition (z-component, λ=0 → 0.02 Ry):
O: dF_corr/dλ = -14.7 eV/A/Ry dF_total/dλ = +11.9 relaxation = +26.6
H1: dF_corr/dλ = +11.9 dF_total/dλ = +11.9 relaxation ≈ 0
H2: dF_corr/dλ = +11.9 dF_total/dλ = +12.0 relaxation ≈ 0
For O: SCF relaxation dominates (opposite sign, 181% of F_corr magnitude).
For H: F_corr ≈ total response (relaxation negligible).
This confirms the force correction is correctly implemented as the
Hellmann-Feynman gradient of the projector constraint operator.1 parent f48e597 commit 944082f
1 file changed
Lines changed: 37 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
72 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
73 | 109 | | |
74 | 110 | | |
75 | 111 | | |
| |||
0 commit comments