mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
decomposePar: corrected decomposeParDict read using -region option
Patch contributed by Mattijs Janssens Resolves bug-report http://bugs.openfoam.org/view.php?id=2227
This commit is contained in:
@ -57,7 +57,7 @@ Foam::decompositionModel::decompositionModel
|
||||
"decomposeParDict",
|
||||
mesh.time().system(),
|
||||
mesh.local(),
|
||||
mesh.db(),
|
||||
mesh,
|
||||
IOobject::MUST_READ,
|
||||
IOobject::NO_WRITE,
|
||||
false //io.registerObject()
|
||||
@ -90,7 +90,7 @@ Foam::decompositionModel::decompositionModel
|
||||
"decomposeParDict",
|
||||
mesh.time().system(),
|
||||
mesh.local(),
|
||||
mesh.db(),
|
||||
mesh,
|
||||
(dict.size() ? IOobject::NO_READ : IOobject::MUST_READ),
|
||||
IOobject::NO_WRITE,
|
||||
false //io.registerObject()
|
||||
|
||||
Reference in New Issue
Block a user