decompositionModel: Corrected support for "-case" option to decomposePar

Patch contributed by Mattijs Janssens
Resolves bug-report https://bugs.openfoam.org/view.php?id=2610
This commit is contained in:
Henry Weller
2017-07-14 23:22:36 +01:00
parent 549337c367
commit 702a4274cd

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2014-2016 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2014-2017 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -150,7 +150,7 @@ Foam::IOobject Foam::decompositionModel::selectIO
f.size()
? IOobject // construct from filePath instead
(
f,
fileName(f).toAbsolute(),
io.db(),
io.readOpt(),
io.writeOpt(),