From f3bb750f8bff5720be319974fbb060363766b07a Mon Sep 17 00:00:00 2001 From: Henry Weller <http://cfd.direct> 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() -- GitLab