|
- #!/bin/bash
-
- run="run/analytical.txt \
- run/problem.max \
- run/analytical.ppl"
-
- plot="pipe-mesh-1.png"
-
-
- for i in ${run}; do
- if [ ! -e $i ]; then
- echo "$i does not exist, please run the case first"
- exit 1
- fi
- done
-
- for i in ${plot}; do
- if [ ! -e $i ]; then
- echo "$i does not exist, please plot the results"
- exit 1
- fi
- done
|