openfoam/tutorials/mesh/foamyHexMesh/Allrun
Henry Weller cfa7678ba8 foamRunTutorials: Rationalized support for the "-test" option
RunFunctions: Added "isTest()" argument parsing function
tutorials: Updated Allrun scripts to propagate the "-test" option
tutorials: Removed the lower Alltest scripts and updated the Allrun to
    use the "isTest()" function to handle test-specific operation
2016-02-15 15:49:05 +00:00

33 lines
611 B
Bash
Executable File

#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Any cases that are links to solver test cases and are run when the Allrun
# scripts of those solvers are run. This script avoids meshing these cases
# twice.
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
(
cd blob || exit
./Allrun $*
)
(
cd simpleShapes || exit
./Allrun $*
)
if ! isTest $@
then
(
cd flange || exit
./Allrun $*
)
(
cd mixerVessel || exit
./Allrun $*
)
fi
# ----------------------------------------------------------------- end-of-file