Skip to content

Commit

Permalink
Merge pull request #1020 from haddocking/tadfactor
Browse files Browse the repository at this point in the history
Automatically reduce the tadfactor to 4 when fully flexible segments are defined
  • Loading branch information
amjjbonvin authored Sep 13, 2024
2 parents 844c7ca + 9d3abad commit 90af6a5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/haddock/modules/refinement/flexref/cns/flexref.cns
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,10 @@ if ($failure eq false) then

{* Stage 1 ======================================= rigid body high temperature search*}

if ($nfle > 0) then
! reduce timestep in case of fully flexible segments
evaluate ($SaProtocol.tadfactor = min(4,$SaProtocol.tadfactor))
end if
if ($SaProtocol.initiosteps > 0) then
inline @MODULE:flex_segment.cns
@MODULE:torsiontop.cns
Expand All @@ -381,7 +385,10 @@ if ($failure eq false) then
@MODULE:torsiontop.cns
eval ($torsiondone = true)
end if
evaluate ($SaProtocol.tadfactor = 4)
if ($nfle > 0) then
! reduce timestep in case of fully flexible segments
evaluate ($SaProtocol.tadfactor = min(4,$SaProtocol.tadfactor))
end if
@MODULE:sa_ltad_cool1.cns
end if

Expand Down

0 comments on commit 90af6a5

Please sign in to comment.