((total=sicnt+ccnt))
echo " Si: $sicnt, C: $ccnt, total: $total"
+echo " Lattice constant: $lc A"
+echo " Basis:"
echo " $x1 $y1 $z1"
echo " x = $x2 y = $y2 z = $z2"
echo " $x3 $y3 $z3"
awk '{ print $1+($2*$5)+($3*$6)+($4*$7) }'`
Z=`echo $Z $x $y $z $x3 $y3 $z3 | \
awk '{ print $1+($2*$5)+($3*$6)+($4*$7) }'`
+ X=`echo $lc $X | awk '{ print $1*$2 }'`
+ Y=`echo $lc $Y | awk '{ print $1*$2 }'`
+ Z=`echo $lc $Z | awk '{ print $1*$2 }'`
echo "$type $X $Y $Z $color 0.0" >> video/atomic_conf_init.xyz
((cnt+=1))
done
-echo
+echo "done"