]> hackdaworld.org Git - physik/posic.git/commitdiff
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 31e5f0a162a9d0d296e4959037bc6a92b3545b52..f5acaa1bdf978b41d55978842e91dbde2bc1f90c 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;
        }