bin/tools/RunFunctions: Simplified using the foamDictionary -value option

This commit is contained in:
Henry Weller 2016-06-10 20:24:12 +01:00
parent 29bff520a4
commit 5b38cb4862

View File

@ -41,8 +41,7 @@ isTest()
getNumberOfProcessors()
{
foamDictionary -expand system/decomposeParDict \
| sed -ne 's/^numberOfSubdomains\s*\(.*\);/\1/p'
foamDictionary -entry numberOfSubdomains -value system/decomposeParDict
}
getApplication()