mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
RunFunctions::getNumberOfProcessors: Added support for files included in decomposeParDict
This commit is contained in:
@ -30,7 +30,8 @@
|
||||
|
||||
getNumberOfProcessors()
|
||||
{
|
||||
sed -ne 's/^numberOfSubdomains\s*\(.*\);/\1/p' system/decomposeParDict
|
||||
expandDictionary system/decomposeParDict \
|
||||
| sed -ne 's/^numberOfSubdomains\s*\(.*\);/\1/p'
|
||||
}
|
||||
|
||||
getApplication()
|
||||
|
||||
Reference in New Issue
Block a user