[CP2K-user] [CP2K:19928] Understanding GAPW gradient implementation: why many terms are not calculated?
Jürg Hutter
hutter at chem.uzh.ch
Mon Feb 19 08:35:21 UTC 2024
Hi
you are having most of term correct. The 1-center terms only depend on
the atomic positions through the coefficients C'. The derivatives wrt the local functions are in fact zero. You can best see that by inspecting their dependencies
on the molecular geometry.
If you wish you can download the thesis of Gerald Lippert from this link (expires in
early March).
https://filesender.switch.ch/filesender2/?s=download&token=7549a87c-9cad-44b0-9138-45a53c6f796a
It is in German but has all the formulas in great detail. To compare to the current
implementation in CP2K you have to set the two compensation charges
(hard and soft) equal. This simplifies the formulas slightly.
regards
JH
________________________________________
From: cp2k at googlegroups.com <cp2k at googlegroups.com> on behalf of zc62 <chenzh1993 at gmail.com>
Sent: Friday, February 16, 2024 10:51 PM
To: cp2k
Subject: [CP2K:19924] Understanding GAPW gradient implementation: why many terms are not calculated?
Hi,
Recently I have been trying to derive GAPW nuclear coordinate gradients (somehow they are not presented in the 1999 and 2000 GAPW papers) and compare with the actual implementation, but there are a few places I could not understand.
[截屏2024-02-16 下午3.35.17.png]
Above shows what I have derived for Hartree and Exc (without density matrix derivative terms). However, the actual implementation does not have any 1c terms implemented. To be specific, they are:
1. C' derivatives. C' is calculated from the projection, and the overlap between the projector at A and basis at B certainly will change.
2. For the compensation density (rho0), the integral of g_A^lm gradient with V_H is calculated in qs_rho0_ggrid.F on the global grid, but the corresponding local grid integral is not calculated (if I did not miss it).
3. All the local grid integrals involve the gradient of basis functions are not calculated (at least not in hartree_local_methods.F).
According to my numerical tests, the analytic gradients do agree with numerical differentiations, but I do feel that I am unable to correctly understand why these terms should be zero. Can you help me develop a proper understanding for this?
Thanks!
--
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+unsubscribe at googlegroups.com<mailto:cp2k+unsubscribe at googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/28b358d5-3ccb-4e54-8649-f5ce588c54a2n%40googlegroups.com<https://groups.google.com/d/msgid/cp2k/28b358d5-3ccb-4e54-8649-f5ce588c54a2n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/ZR0P278MB0759E3112259CE21BE620E6A9F512%40ZR0P278MB0759.CHEP278.PROD.OUTLOOK.COM.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ??2024-02-16 ??3.35.17.png
Type: image/png
Size: 79321 bytes
Desc: ??2024-02-16 ??3.35.17.png
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20240219/382a869d/attachment-0001.png>
More information about the CP2K-user
mailing list