diff --git a/bin/tools/RunFunctions b/bin/tools/RunFunctions index 093c6ed037cd74083b5154b5c3377ebf3e968508..3632a62d761bef571488d35d3fd7ccd1d1083cf7 100644 --- a/bin/tools/RunFunctions +++ b/bin/tools/RunFunctions @@ -28,6 +28,11 @@ # Miscellaneous functions for running tutorial cases #------------------------------------------------------------------------------ +getNumberOfProcessors() +{ + sed -ne 's/^numberOfSubdomains *\(.*\);/\1/p' system/decomposeParDict +} + getApplication() { sed -ne 's/^ *application *\([a-zA-Z]*\) *;.*$/\1/p' system/controlDict