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:
parent
a874d8fae1
commit
5c32111a21
1 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue