no verbose printfs for total v attrr changes
[physik/posic.git] / 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;
        }