From: Rossen Apostolov Date: Tue, 6 May 2014 13:28:58 +0000 (+0200) Subject: Added a note about using direction-periodic pulling. X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=commitdiff_plain;h=d72236ebf4886cf9dcf5d8659b17b16864e96a2a;p=alexxy%2Fgromacs.git Added a note about using direction-periodic pulling. Refs #1352. Change-Id: I867fe1372082063bb221880e8021089f9ded14e7 --- diff --git a/src/mdlib/pull.c b/src/mdlib/pull.c index e7f260e379..a06f7440aa 100644 --- a/src/mdlib/pull.c +++ b/src/mdlib/pull.c @@ -328,7 +328,8 @@ static void get_pullgrps_dr(const t_pull *pull, const t_pbc *pbc, int g, double } if (max_dist2 >= 0 && dr2 > 0.98*0.98*max_dist2) { - gmx_fatal(FARGS, "Distance of pull group %d (%f nm) is larger than 0.49 times the box size (%f)", g, sqrt(dr2), sqrt(max_dist2)); + gmx_fatal(FARGS, "Distance of pull group %d (%f nm) is larger than 0.49 times the box size (%f).\nYou might want to consider using \"pull-geometry = direction-periodic\" instead.\n", g, sqrt(dr2), sqrt(max_dist2)); + } if (pull->eGeom == epullgDIRPBC)