diff --git a/applications/poisson_dg/poisson_dg.sh b/applications/poisson_dg/poisson_dg.sh new file mode 100755 index 0000000000000000000000000000000000000000..66413006297f15ec35e0f074f1ce5af825b0fcb6 --- /dev/null +++ b/applications/poisson_dg/poisson_dg.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +# Arguments: Number of runs for the timings (defaults to 5) + +# Run the opcount executables +./app_poisson_dg_deg2_opcount app_poisson_dg_deg2_opcount.ini +./app_poisson_dg_deg3_opcount app_poisson_dg_deg3_opcount.ini +./app_poisson_dg_deg4_opcount app_poisson_dg_deg4_opcount.ini +./app_poisson_dg_deg5_opcount app_poisson_dg_deg5_opcount.ini + +# Run the timing executables +COUNT=0 +while [ $COUNT -lt ${1:-5} ]; do + ./app_poisson_dg_deg2_nonopcount app_poisson_dg_deg2_nonopcount.ini + ./app_poisson_dg_deg3_nonopcount app_poisson_dg_deg3_nonopcount.ini + ./app_poisson_dg_deg4_nonopcount app_poisson_dg_deg4_nonopcount.ini + ./app_poisson_dg_deg5_nonopcount app_poisson_dg_deg5_nonopcount.ini +done