/* analyzing ... */
bond_analyze(&moldyn,quality);
- printf("[bond analyze] t: %f | quality = %f | %f\n",
- moldyn.time,quality[0],quality[1]);
+ printf("[bond analyze] t: %f | quality = %f | %f | %d\n",
+ moldyn.time,quality[0],quality[1],moldyn.count);
moldyn_free_save_file(&moldyn);
bai="`./bond_analyze $i | grep '\[bond' | grep quality`"
time=`echo $bai | awk '{ print $4 }'`
quality=`echo $bai | awk '{ print $8 }'`
- echo "$time $quality" >> $1/bond_analyze.txt
+ count=`echo $bai | awk '{ print $12 }'`
+ echo "$time $quality $count" >> $1/bond_analyze.txt
done
echo "done"