#!/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

if [ -n "$FOAMY_HEX_MESH" ]
then
    (
        cd blob || exit
        ./Allrun $*
    )
    (
        cd flange || exit
        ./Allrun $*
    )
    (
        cd simpleShapes || exit
        ./Allrun $*
    )

    if ! isTest $@
    then
        (
            cd mixerVessel || exit
            ./Allrun $*
        )
    fi
fi

#------------------------------------------------------------------------------
