14 /partition_problem: rank = 0 FEs row/ { nbdofs=$25 }
15 /stress '$2'/ { print order,gamma,phi,file,$'$3',nbdofs }
17 | sed 's/ORDER=//' | sed 's/GAMMA=//' | sed 's/PHI=//' | sed 's/F=//' \
18 | sed 's/.h5m//' | sed 's/hole_//' \
24 ' tmp1.txt | sort | uniq
26 echo ORDERLIST $ORDERLIST
31 ' tmp1.txt | sort | uniq
33 echo GAMMALIST $GAMMALIST
38 ' tmp1.txt | sort | uniq
46 ' tmp1.txt | sort | uniq
48 echo FILELIST $FILELIST
51 for GAMMA in $GAMMALIST; do
52 for PHI in $PHILIST; do
53 for ORDER in $ORDERLIST; do
55 $1~/'$ORDER'/ && $2~/'$GAMMA'/ && ($3=='$PHI') && $4!~/'off'/ { a=$5-'$4'; a=sqrt(a*a)/'$4'; print $6,a }
56 ' tmp1.txt | sort -n -k1 | tee tmp2_h_$ORDER\_$GAMMA\_$PHI.txt
62 for GAMMA in $GAMMALIST; do
63 for PHI in $PHILIST; do
64 for ORDER in $ORDERLIST; do
66 $1~/'$ORDER'/ && $2~/'$GAMMA'/ && ($3=='$PHI') && $4~/'off'/ { a=$5-'$4'; a=sqrt(a*a)/'$4'; print $6,a }
67 ' tmp1.txt | sort -n -k1 | tee tmp2_off_h_$ORDER\_$GAMMA\_$PHI.txt
73 # gnuplot -persist << EOF
76 # set title "Convergence Nitsche's method ({/Symbol \146}=-1 and {/Symbol \170}=10^{-4})"
77 # set xlabel 'Log(Nb. of dofs)'
78 # set ylabel 'Log(|{/Symbol \163}-{/Symbol \163}^{ref}|/{/Symbol \163}^{ref})'
80 # './tmp2_h_1_1e-6_-1.txt' w lp title 'P_1 {/Symbol \147}=10^{-6} (c)' lw 3 lt 1 pt 1,\
81 # './tmp2_h_1_1e-5_-1.txt' w lp title 'P_1 {/Symbol \147}=10^{-5} (c)' lw 3 lt 1 pt 2,\
82 # './tmp2_h_1_1e-4_-1.txt' w lp title 'P_1 {/Symbol \147}=10^{-4} (c)' lw 3 lt 1 pt 3,\
83 # './tmp2_off_h_1_1e-6_-1.txt' w lp title 'P_1 {/Symbol \147}=10^{-6} (o)' lw 3 lt 2 pt 1,\
84 # './tmp2_off_h_1_1e-5_-1.txt' w lp title 'P_1 {/Symbol \147}=10^{-5} (o)' lw 3 lt 2 pt 2,\
85 # './tmp2_off_h_1_1e-4_-1.txt' w lp title 'P_1 {/Symbol \147}=10^{-4} (o)' lw 3 lt 2 pt 3,\
86 # './tmp2_h_2_1e-6_-1.txt' w lp title 'P_2 {/Symbol \147}=10^{-6} (c)' lw 3 lt 3 pt 1,\
87 # './tmp2_h_2_1e-5_-1.txt' w lp title 'P_2 {/Symbol \147}=10^{-5} (c)' lw 3 lt 3 pt 2,\
88 # './tmp2_off_h_2_1e-6_-1.txt' w lp title 'P_2 {/Symbol \147}=10^{-6} (c)' lw 3 lt 4 pt 1,\
89 # './tmp2_off_h_2_1e-5_-1.txt' w lp title 'P_2 {/Symbol \147}=10^{-5} (c)' lw 3 lt 4 pt 2
90 # set terminal postscript eps enhanced color font 'Helvetica,10'
91 # set output "my-plot1.ps"