Skip to content
Snippets Groups Projects
Commit ca6b6cee authored by mattijs's avatar mattijs
Browse files

BUG: decomposeParDict: ignores mesh region. Fixes #848.

parent 26bb05d6
Branches
Tags
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2014-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2014-2016 OpenFOAM Foundation
\\/ M anipulation | Copyright (C) 2015 OpenCFD Ltd. \\/ M anipulation | Copyright (C) 2015-2018 OpenCFD Ltd.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
This file is part of OpenFOAM. This file is part of OpenFOAM.
...@@ -58,7 +58,7 @@ Foam::decompositionModel::decompositionModel ...@@ -58,7 +58,7 @@ Foam::decompositionModel::decompositionModel
"decomposeParDict", "decomposeParDict",
mesh.time().system(), mesh.time().system(),
mesh.local(), mesh.local(),
mesh.db(), mesh.thisDb(),
IOobject::MUST_READ, IOobject::MUST_READ,
IOobject::NO_WRITE, IOobject::NO_WRITE,
false, //io.registerObject(), false, //io.registerObject(),
...@@ -92,7 +92,7 @@ Foam::decompositionModel::decompositionModel ...@@ -92,7 +92,7 @@ Foam::decompositionModel::decompositionModel
"decomposeParDict", "decomposeParDict",
mesh.time().system(), mesh.time().system(),
mesh.local(), mesh.local(),
mesh.db(), mesh.thisDb(),
(dict.size() ? IOobject::NO_READ : IOobject::MUST_READ), (dict.size() ? IOobject::NO_READ : IOobject::MUST_READ),
IOobject::NO_WRITE, IOobject::NO_WRITE,
false, //io.registerObject(), false, //io.registerObject(),
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment