Skip to content

Add LibXC equivalents to ADMM exchange potentials#1972

Merged
fstein93 merged 1 commit intocp2k:masterfrom
fstein93:ADMM_Libxc
Mar 3, 2022
Merged

Add LibXC equivalents to ADMM exchange potentials#1972
fstein93 merged 1 commit intocp2k:masterfrom
fstein93:ADMM_Libxc

Conversation

@fstein93
Copy link
Contributor

@fstein93 fstein93 commented Mar 2, 2022

This commit adds the LibXC equivalents to the already available exchange correction functionals for ADMM. Because LibXC does not have a truncated-Coulomb-based functional (see here), the corresponding options still use the CP2K versions.
The main use of the new functionality is the availability of analytical 2nd derivatives (Double Hybrids, Harris functional, TDDF(P)T) with ADMM for most operators (apart from truncated Coulomb and mixed truncated Coulomb/longrange Coulomb).

Fixes #1960

@oschuett
Copy link
Member

oschuett commented Mar 2, 2022

I always disliked the way create_admm_xc_section meddled with the input section.

I think, it would be much cleaner if the input was first parsed into a TYPE. Then one could do the ADMM modifications on that type variable in a generic fashion before passing it on for evaluation.

Maybe this is a good opportunity for a refactoring?

@juerghutter
Copy link
Contributor

juerghutter commented Mar 2, 2022 via email

This commit allows to use analytical higher derivatives with ADMM for most operators (apart from truncated Coulomb).
@fstein93 fstein93 merged commit e3747cb into cp2k:master Mar 3, 2022
@fstein93 fstein93 deleted the ADMM_Libxc branch March 3, 2022 09:05
Cloudac7 pushed a commit to Cloudac7/cp2k that referenced this pull request Apr 23, 2022
This commit allows to use analytical higher derivatives with ADMM for most operators (apart from truncated Coulomb-based operators).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Suitable warning message for ADMM forces

3 participants