BUG: codeStream: do not reduce if timeStampMaster
This commit is contained in:
parent
97056cd466
commit
8199b97e4a
1 changed files with 5 additions and 2 deletions
|
|
@ -2,7 +2,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) 2011-2013 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
|
|
@ -286,7 +286,10 @@ Foam::functionEntries::codeStream::getFunction
|
||||||
}
|
}
|
||||||
|
|
||||||
bool haveLib = lib;
|
bool haveLib = lib;
|
||||||
reduce(haveLib, andOp<bool>());
|
if (!regIOobject::masterOnlyReading)
|
||||||
|
{
|
||||||
|
reduce(haveLib, andOp<bool>());
|
||||||
|
}
|
||||||
|
|
||||||
if (!haveLib)
|
if (!haveLib)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue