From: hackbard Date: Mon, 17 Aug 2009 14:02:57 +0000 (+0200) Subject: no verbose printfs for total v attrr changes X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=2998bed05e84541809a34de696eeb1a9267ffe4d;p=physik%2Fposic.git no verbose printfs for total v attrr changes --- diff --git a/mdrun.c b/mdrun.c index 31e5f0a..f5acaa1 100644 --- a/mdrun.c +++ b/mdrun.c @@ -1108,7 +1108,9 @@ int chaatr(t_moldyn *moldyn,t_mdrun *mdrun) { if(cap->z1r.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; }