Run code
Code to run a.out from dilemma.c for different parameter values.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
# run with: nohup ./code.sh &
export LC_ALL="en_US.UTF-8"
LANG=en_US.UTF-8
for k in $(seq 1 1 10) #repetiçoes
do
#for j in $(seq 0. 0.1 1.5) #gama
#do
for i in $(seq 4.5 0.1 6.5) #r
do
./a.out $i 0.0 0.0 #> dados_r"$i".dat
sleep 1s
#echo $i $j
done
#done
done
This post is licensed under CC BY 4.0 by the author.