8000 Implementation of the ddX continuum solvation library by robin-dahl · Pull Request #235 · tblite/tblite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Implementation of the ddX continuum solvation library #235

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

Open
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

robin-dahl
Copy link

Summary
With this pull request, an implementation of the ddX continuum solvation library (https://github.com/ddsolvation/ddX) is added, enabling the general use of the domain decomposition formalism for the three solvation models COSMO, PCM, and LPB.

Key changes
The legacy implementation (cpcm.f90 and cpcm_dd.f90) has been removed and replaced with a ddX interface, which is automatically invoked when one of the flags --cosmo, --pcm, or --lpb is set. Consequently, all cpcm flags and references in the existing code structure have been adapted to now globally read ddX.

Furthermore, the issue of ddCOSMO being non-variational (issue #1159) has been resolved, and unit tests have been added for maintenance.

Remarks
Some minor modifications have been made to the ddX subroutine allocate_state to address an issue with missing variable initialization. The ddX developers have been informed about this issue and are currently working on a global solution, which will be included in an upcoming separate pull request.

While ddX is preferably built with CMake at the moment, a Meson build system has been set up and is currently in the queue to be merged into the ddX library (see PR: ddsolvation/ddX#157).
Once the pull request is approved, this new implementation will support both CMake and Meson.

lukaswittmann and others added 2 commits March 24, 2025 09:41
Signed-off-by: lukaswittmann <mail@lukaswittmann.com>
Copy link
Member
@awvwgk awvwgk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the pull request. Looking forward to see ddx with tblite in action.

Please carefully check the files you are committing to this pull request and avoid adding development files to the repository

@@ -82,15 +84,15 @@ function new_cpcm_solvation_epsilon_api(verr, vmol, eps) result(vcont) &
end if
call c_f_pointer(vmol, mol)

solvmodel%cpcm = cpcm_input(eps)
solvmodel%ddx = ddx_input(eps, model)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the model input get checked?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file probably also doesn't belong here

lukaswittmann and others added 10 commits March 26, 2025 17:44
Signed-off-by: lukaswittmann <mail@lukaswittmann.com>
Signed-off-by: lukaswittmann <mail@lukaswittmann.com>
Signed-off-by: lukaswittmann <mail@lukaswittmann.com>
Signed-off-by: lukaswittmann <mail@lukaswittmann.com>
Signed-off-by: lukaswittmann <mail@lukaswittmann.com>
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.

4 participants
0