Skip to content

Commit

Permalink
Commandline flage "--alpb" now explicitly activates ALPB. (#767)
Browse files Browse the repository at this point in the history
* Commandline flage "--alpb" now explicitly activates ALPB.
  • Loading branch information
MtoLStoN authored Feb 9, 2023
1 parent 9f0c28c commit 8843059
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/prog/main.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1532,6 +1532,7 @@ subroutine parseArguments(env, args, inputFile, paramFile, accuracy, lgrad, &

case('--alpb')
call args%nextArg(sec)
call set_gbsa(env, 'alpb', 'true')
if (allocated(sec)) then
call set_gbsa(env, 'solvent', sec)
call args%nextArg(sec)
Expand All @@ -1545,7 +1546,7 @@ subroutine parseArguments(env, args, inputFile, paramFile, accuracy, lgrad, &
end if
end if
else
call env%error("No solvent name provided for GBSA", source)
call env%error("No solvent name provided for ALPB", source)
end if

case('--cosmo')
Expand Down

0 comments on commit 8843059

Please sign in to comment.