X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=blobdiff_plain;f=src%2Fgromacs%2Fgmxpreprocess%2Freadir.c;h=b86bbef806e7f0a6317fe8900035573c4612b2d3;hb=1ff3f3bf02fa4457248228557ab0d3ffbbb7cd76;hp=b12714eb7882944edea49bf1147aa936431f0430;hpb=d067ed15ef38bb3ad6cafeab03f8b14c0a1460b9;p=alexxy%2Fgromacs.git diff --git a/src/gromacs/gmxpreprocess/readir.c b/src/gromacs/gmxpreprocess/readir.c index b12714eb78..b86bbef806 100644 --- a/src/gromacs/gmxpreprocess/readir.c +++ b/src/gromacs/gmxpreprocess/readir.c @@ -369,6 +369,11 @@ void check_ir(const char *mdparin, t_inputrec *ir, t_gromppopts *opts, warning_error(wi, warn_buf); } + if (ir->implicit_solvent != eisNO) + { + warning_error(wi, "Implicit solvent is not (yet) supported with the with Verlet lists."); + } + if (ir->nstlist <= 0) { warning_error(wi, "With Verlet lists nstlist should be larger than 0"); @@ -1330,11 +1335,9 @@ nd %s", /* IMPLICIT SOLVENT */ if (ir->coulombtype == eelGB_NOTUSED) { - ir->coulombtype = eelCUT; - ir->implicit_solvent = eisGBSA; - fprintf(stderr, "Note: Old option for generalized born electrostatics given:\n" - "Changing coulombtype from \"generalized-born\" to \"cut-off\" and instead\n" - "setting implicit-solvent value to \"GBSA\" in input section.\n"); + sprintf(warn_buf, "Invalid option %s for coulombtype", + eel_names[ir->coulombtype]); + warning_error(wi, warn_buf); } if (ir->sa_algorithm == esaSTILL)