From 5b38cb48628c0cdc7b0c13c5d7c420dea1801a12 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 19390073004..4703fee0395 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