X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=blobdiff_plain;f=src%2Fgromacs%2Fgmxpreprocess%2Freadir.c;h=763b6d8e5da1001ebcde6dc9a9b4af91f2971788;hb=92a2eb1aa7ee6ccd1d785fadd91f0518fec8b63d;hp=3d2b2b07cd4e2516d3b6c9e742d3a52531c1fd5d;hpb=f878c887a27dca78bff7b158203e729e8ee65444;p=alexxy%2Fgromacs.git diff --git a/src/gromacs/gmxpreprocess/readir.c b/src/gromacs/gmxpreprocess/readir.c index 3d2b2b07cd..763b6d8e5d 100644 --- a/src/gromacs/gmxpreprocess/readir.c +++ b/src/gromacs/gmxpreprocess/readir.c @@ -370,6 +370,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"); @@ -1331,11 +1336,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)