]> hackdaworld.org Git - physik/posic.git/blobdiff - mdrun.c
QUENCH feature (well, or sth like that ...)
[physik/posic.git] / 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;
        }