mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
RunFunctions::getNumberOfProcessors: Added support for files included in decomposeParDict
This commit is contained in:
@ -30,7 +30,8 @@
|
|||||||
|
|
||||||
getNumberOfProcessors()
|
getNumberOfProcessors()
|
||||||
{
|
{
|
||||||
sed -ne 's/^numberOfSubdomains\s*\(.*\);/\1/p' system/decomposeParDict
|
expandDictionary system/decomposeParDict \
|
||||||
|
| sed -ne 's/^numberOfSubdomains\s*\(.*\);/\1/p'
|
||||||
}
|
}
|
||||||
|
|
||||||
getApplication()
|
getApplication()
|
||||||
|
|||||||
Reference in New Issue
Block a user