no verbose printfs for total v attrr changes
authorhackbard <hackbard@sage.physik.uni-augsburg.de>
Mon, 17 Aug 2009 14:02:57 +0000 (16:02 +0200)
committerhackbard <hackbard@sage.physik.uni-augsburg.de>
Mon, 17 Aug 2009 14:02:57 +0000 (16:02 +0200)
mdrun.c

diff --git a/mdrun.c b/mdrun.c
index 31e5f0a..f5acaa1 100644 (file)
--- a/mdrun.c
+++ b/mdrun.c
@@ -1108,7 +1108,9 @@ int chaatr(t_moldyn *moldyn,t_mdrun *mdrun) {
                        if(cap->z1<atom->r.z)
                                continue;
                }
-               printf("  changing attributes of atom %d (0x%x)\n",i,cap->attr);
+               if(!(cap->type&CHAATTR_TOTALV))
+                       printf("  changing attributes of atom %d (0x%x)\n",
+                              i,cap->attr);
                atom->attr=cap->attr;
        }