tutorials/mesh/foamy.*Mesh::Allrun: Only run if FOAMY_HEX_MESH set

This commit is contained in:
Henry Weller
2017-07-25 17:37:06 +01:00
parent 44eca0bb79
commit 793aa95738
2 changed files with 42 additions and 12 deletions

View File

@ -8,25 +8,28 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
(
cd blob || exit
./Allrun $*
)
(
cd simpleShapes || exit
./Allrun $*
)
if ! isTest $@
if [ -n "$FOAMY_HEX_MESH" ]
then
(
cd flange || exit
cd blob || exit
./Allrun $*
)
(
cd mixerVessel || exit
cd simpleShapes || exit
./Allrun $*
)
if ! isTest $@
then
(
cd flange || exit
./Allrun $*
)
(
cd mixerVessel || exit
./Allrun $*
)
fi
fi
#------------------------------------------------------------------------------