openfoam/src/parallel/decompose/Allwclean
Mark Olesen c1ca2f4a38 BUG: missing chdir in Allwclean for wallFunctionTable
STYLE: improve consistency in Allwclean scripts
2017-02-23 01:07:10 +01:00

27 lines
482 B
Bash
Executable File

#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Clean an mpi-versioned library
wcleanMpiLib()
{
case "$WM_MPLIB" in (*MPI*)
(
WM_OPTIONS="$WM_OPTIONS$WM_MPLIB"
for libName
do
wclean $libName
done
)
;;
esac
}
wclean scotchDecomp
wclean metisDecomp
wclean decompositionMethods
wclean decompose
wcleanMpiLib ptscotchDecomp
#------------------------------------------------------------------------------