Merge "Merge release-4-6 into master"
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / readir.c
index a75ceac0748a7cf2d0a5a15d9ae6bf6f0137f38e..5675b2fab01740caf2615bfad14419fd92ea47ad 100644 (file)
@@ -3899,7 +3899,8 @@ void triple_check(const char *mdparin, t_inputrec *ir, gmx_mtop_t *sys,
 
     if (EI_DYNAMICS(ir->eI) && !EI_SD(ir->eI) && ir->eI != eiBD &&
         ir->comm_mode == ecmNO &&
-        !(absolute_reference(ir, sys, FALSE, AbsRef) || ir->nsteps <= 10))
+        !(absolute_reference(ir, sys, FALSE, AbsRef) || ir->nsteps <= 10) &&
+        !ETC_ANDERSEN(ir->etc))
     {
         warning(wi, "You are not using center of mass motion removal (mdp option comm-mode), numerical rounding errors can lead to build up of kinetic energy of the center of mass");
     }