Add LibXC equivalents to ADMM exchange potentials#1972
Merged
fstein93 merged 1 commit intocp2k:masterfrom Mar 3, 2022
Merged
Conversation
Member
|
I always disliked the way I think, it would be much cleaner if the input was first parsed into a Maybe this is a good opportunity for a refactoring? |
Contributor
|
Unfortunately, xc_section is an argument in approx. 20 routines. This would be a hell of a refactoring.
…________________________________________
From: Ole Schütt ***@***.***>
Sent: Wednesday, March 2, 2022 3:49 PM
To: cp2k/cp2k
Cc: Subscribed
Subject: Re: [cp2k/cp2k] Add LibXC equivalents to ADMM exchange potentials (PR #1972)
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?
—
Reply to this email directly, view it on GitHub<#1972 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AD2WEURPUHFUF6QFIT74EITU555XNANCNFSM5PXTJFDA>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
This commit allows to use analytical higher derivatives with ADMM for most operators (apart from truncated Coulomb).
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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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