From 5b38cb48628c0cdc7b0c13c5d7c420dea1801a12 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Fri, 10 Jun 2016 20:24:12 +0100 Subject: [PATCH] bin/tools/RunFunctions: Simplified using the foamDictionary -value option --- bin/tools/RunFunctions | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/tools/RunFunctions b/bin/tools/RunFunctions index 1939007300..4703fee039 100644 --- a/bin/tools/RunFunctions +++ b/bin/tools/RunFunctions @@ -41,8 +41,7 @@ isTest() getNumberOfProcessors() { - foamDictionary -expand system/decomposeParDict \ - | sed -ne 's/^numberOfSubdomains\s*\(.*\);/\1/p' + foamDictionary -entry numberOfSubdomains -value system/decomposeParDict } getApplication()