Closed nec4 closed 9 months ago
It's the gradient, meaning the negative of the forces.
I see, so a negative sign must be added by the user downstream to do force matching. Thanks!
Actually I am confused. When I plot the first entry vectors for the dft_total_gradient
for the system [cl-] [k+]
(two ions of opposite sign), plotting the first example of the raw dft_total_gradient
vectors (and putting the tails at the respective atom positions and scaling the force vectors by a factor of 10 for clarity) gives the following picture:
Which is what we would expect from attractive forces between oppositely charged ions in vaccum. So it seems the quantities in dft_total_gradient
are true forces? Therefore there is no need to manually multiply by -1 in order to train on forces; the dft_total_gradient
can just be directly loaded and used as the force?
The Psi4 documentation describes that field as, "The total electronic gradient [E_h/a0] of the requested DFT method."
I must be missing a minus sign somewhere. Thanks.
Hello - apologies if this is a silly question:
dft_total_gradient
-> is this meant to be interpreted as the forces, or literally as dU/dx? Is it necessary to add a negative sign to recover the forces?