| #!/bin/bash |
| temps="1.8 2.0 2.15 2.25 2.3 2.35 2.45 2.6 3.0" |
| out="data_out/dep_en_T.dat" |
| out_partial="partial_dep_en_T" |
| l=${1:-32} |
| |
| rm -f $out |
| touch $out |
| |
| for temp in $temps; do |
| echo "-----------------------------" |
| echo "Executant per T = $temp" |
| echo "-----------------------------" |
| |
| cat <<EOF > mc2.dat |
| &DADES |
| L=$l |
| NOM="$out_partial", |
| TEMP=$temp, |
| NSEED=10, |
| SEED0=117654, |
| MCTOT=20000, |
| MCINI=2000, |
| MCD=20 |
| &END |
| EOF |
| ./out/mc2 $temp |
| cat data_out/$out_partial.res >> $out |
| done |
| |
| rm -f data_out/$out_partial.res |
| rm -f data_out/$out_partial.out |
| |
| ./graphs/dependenciaEnT.gnu |