Skip to content

Commit

Permalink
QCG Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cplett committed Jan 9, 2024
1 parent a4a9410 commit 4f2296f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/confparse.f90
Original file line number Diff line number Diff line change
Expand Up @@ -2093,7 +2093,6 @@ subroutine parseflags(env,arg,nra)
!>--- defaults for QCG gfnff ensemble search
if (env%crestver == crest_solv) then
if (env%ensemble_opt .EQ. '--gff') then
env%mdstep = 1.5d0
env%hmass = 5.0d0
ctype = 5 !bond constraint
bondconst = .true.
Expand Down
9 changes: 9 additions & 0 deletions src/qcg/solvtool.f90
Original file line number Diff line number Diff line change
Expand Up @@ -996,6 +996,15 @@ end subroutine aver
case (-1:0) !qcgmtd/Crest runtype

!Defaults
!General settings:
if (.not. env%user_mdstep) then
if (env%ensemble_opt .EQ. '--gff') then
env%mdstep = 1.5d0
else
env%mdstep = 5.0d0
end if
end if
!Runtype specific settings:
if(env%ensemble_method == 0) then
if (.not. env%user_dumxyz) then
env%mddumpxyz = 200
Expand Down

0 comments on commit 4f2296f

Please sign in to comment.