You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see. So should we implement checks to ensure that users do not apply mGGA functionals with the Laplacian? Alternatively, we could add a function to compute $\nabla^2\rho$. In either case, we should ensure that this does not lead to UNDEFINED BEHAVIOUR in the underlying code.
Activity
WHUweiqingzhou commentedon Oct 31, 2024
@jinzx10 could you have a look?
jinzx10 commentedon Oct 31, 2024
I think this should be reviewed by a density functional expert.
jeanwsr commentedon Oct 31, 2024
Laplacian is not used by most MGGAs. You can query libxc to know whether lapl is needed for certain functional like
https://github.com/pyscf/pyscf/blob/b519c3dd4935e97dac2d646fc75dc5739911559e/pyscf/lib/dft/libxc_itrf.c#L711
AsTonyshment commentedon Oct 31, 2024
I see. So should we implement checks to ensure that users do not apply mGGA functionals with the Laplacian? Alternatively, we could add a function to compute$\nabla^2\rho$ . In either case, we should ensure that this does not lead to UNDEFINED BEHAVIOUR in the underlying code.
jeanwsr commentedon Oct 31, 2024
Yeah, in principle there should be a check. (the lapl-needed mGGAs are very rare, though)