Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SOS-MP2 gradients #2208

Merged
merged 1 commit into from
Jul 18, 2022
Merged

Add SOS-MP2 gradients #2208

merged 1 commit into from
Jul 18, 2022

Conversation

fstein93
Copy link
Contributor

This PR adds the kernels for SOS-MP2 gradients. Common infrastructure was used as much as possible.

With this PR, the WF_CORRELATION and RI_MP2 sections change slightly to prevent doubly set sections (especially with the still to be added RPA gradients) and complicated code paths. The CPHF section and the keywords EPS_CANONICAL and FREE_HFX_BUFFER are moved into their one CANONICAL_GRADIENTS section.

For reasons of efficiency of dot products, I interchanged rows and columns of the fm_mat_S matrix used in the whole RPA code base.

@fstein93 fstein93 merged commit 35eee55 into cp2k:master Jul 18, 2022
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.

None yet

1 participant