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

aISS docking update for next QCG version #956

Merged
merged 3 commits into from
Feb 1, 2024
Merged

Conversation

cplett
Copy link
Member

@cplett cplett commented Jan 26, 2024

Introduction of an optional attractive potential during the position screening of the aISS algorithm. This will be used to make the solute more attractive for QCG runs. It has the shape of an error function including three parameters that can be used to determine the strength, the width, and the turning point. They are provided via an input file and stored in the directedset object.

@cplett cplett added the enhancement New feature or request label Jan 26, 2024
Copy link
Contributor

@Albkat Albkat left a comment

Choose a reason for hiding this comment

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

Looks good

@@ -245,11 +245,15 @@ subroutine set_directed(env,key,val,nat,at,idMap,xyz)
integer, allocatable :: list(:)
real(wp) :: ddum
logical :: ldum
real(wp), parameter ::au = 627.509541d0
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
real(wp), parameter ::au = 627.509541d0
use xtb_mctc_convert, only : autokcal

Comment on lines 310 to 319
case('expo')
if (getValue(env,val,ddum).and.set2) directedset%expo(1) = ddum
set2 = .false.
case('prefac')
!Prefactor is given in kcal, but xtb energies are in hartree
if (getValue(env,val,ddum).and.set3) directedset%val(1) = ddum / au
set3 = .false.
case('midpoint')
if (getValue(env,val,ddum).and.set4) directedset%expo(2) = ddum
set4 = .false.
Copy link
Contributor

Choose a reason for hiding this comment

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

Since these instructions aren't documented in xcontrol.7.adoc, it might be beneficial to add them to the xtb-docs

Albkat
Albkat previously approved these changes Jan 31, 2024
Signed-off-by: cplett <82893466+cplett@users.noreply.github.com>
@cplett cplett merged commit a523bf1 into grimme-lab:main Feb 1, 2024
11 checks passed
gorges97 pushed a commit to gorges97/xtb that referenced this pull request Mar 27, 2024
* Update aISS docking for next generation QCG

Signed-off-by: cplett <82893466+cplett@users.noreply.github.com>

* Cleanup

Signed-off-by: cplett <82893466+cplett@users.noreply.github.com>

---------

Signed-off-by: cplett <82893466+cplett@users.noreply.github.com>
Signed-off-by: Johannes Gorges <58849467+gorges97@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants