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

This commit is contained in:
mattijs
2018-05-29 10:26:22 +01:00
parent 26bb05d6f0
commit ca6b6cee8d

View File

@ -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
"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
"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(),