elif [ "$1" == "1DKZcut-ene" ]; then
extremediff="10000.0" # extreme energy difference, comething went terribly wrong
- expectenergy="-452.4430" # - expected total energy
+ expectenergy="-443.2674" # - expected total energy
cutoffdiff="0.01" # energy cutoff variation - more then this rises warning
elif [ "$1" == "1DKZcut-micro" ]; then
diff=`gawk -f checkgrad.awk $file |grep 'Largest abs(1-numerical/analytical)='|awk '{printf "%15.10f",$3}'`
gawk -f checkgrad.awk $file
- if [ `echo "a=${diff};a>0.0003"|bc -l` != "0" ]; then
+ if [ `echo "a=${diff};a>0.0005"|bc -l` != "0" ]; then
echo 'ERROR largest abs(1-numerical/analytical)' ${diff}
echo ' greater than 0.0005'
exit 1