From: Roland Schulz Date: Mon, 22 Sep 2014 17:31:41 +0000 (-0400) Subject: Fix message about incorrect usage of dihedral type 9 X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?p=alexxy%2Fgromacs.git;a=commitdiff_plain;h=6c4581247ca39520e067f492e21de75b8d7b9440 Fix message about incorrect usage of dihedral type 9 The warning printed the wrong type number: 4 instead of 9. Also it didn't clarify that 9 only combines consecutive lines. Change-Id: Ie65a050c978f162acf9f9a2329dde286c068438c --- diff --git a/src/kernel/toppush.c b/src/kernel/toppush.c index c5c98ed589..fc7c7685a0 100644 --- a/src/kernel/toppush.c +++ b/src/kernel/toppush.c @@ -600,9 +600,11 @@ static void push_bondtype(t_params * bt, { sprintf(errbuf, "Overriding %s parameters.%s", interaction_function[ftype].longname, - (ftype == F_PDIHS) ? "\nUse dihedraltype 4 to allow several multiplicity terms." : ""); + (ftype == F_PDIHS) ? + "\nUse dihedraltype 9 to allow several multiplicity terms. Only consecutive lines are combined. Non-consective lines overwrite each other." + : ""); warning(wi, errbuf); - fprintf(stderr, " old:"); + fprintf(stderr, " old: "); for (j = 0; (j < nrfp); j++) { fprintf(stderr, " %g", bt->param[i].c[j]);