mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: foamUpgradeCyclics,foamFormatConvert etc: switch off master-only reading.
This commit is contained in:
@ -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) 2004-2010 OpenCFD Ltd.
|
\\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd.
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -148,6 +148,11 @@ int main(int argc, char *argv[])
|
|||||||
# include "setRootCase.H"
|
# include "setRootCase.H"
|
||||||
# include "createTime.H"
|
# include "createTime.H"
|
||||||
|
|
||||||
|
// Make sure we do not use the master-only reading since we read
|
||||||
|
// fields (different per processor) as dictionaries.
|
||||||
|
regIOobject::fileModificationChecking = regIOobject::timeStamp;
|
||||||
|
|
||||||
|
|
||||||
fileName meshDir = polyMesh::meshSubDir;
|
fileName meshDir = polyMesh::meshSubDir;
|
||||||
fileName regionPrefix = "";
|
fileName regionPrefix = "";
|
||||||
word regionName = polyMesh::defaultRegion;
|
word regionName = polyMesh::defaultRegion;
|
||||||
|
|||||||
@ -305,7 +305,8 @@ int main(int argc, char *argv[])
|
|||||||
instance = args.options()["instance"];
|
instance = args.options()["instance"];
|
||||||
}
|
}
|
||||||
|
|
||||||
// Make sure we do not use the master-only reading.
|
// Make sure we do not use the master-only reading since we read
|
||||||
|
// fields (different per processor) as dictionaries.
|
||||||
regIOobject::fileModificationChecking = regIOobject::timeStamp;
|
regIOobject::fileModificationChecking = regIOobject::timeStamp;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -405,6 +405,12 @@ int main(int argc, char *argv[])
|
|||||||
# include "setRootCase.H"
|
# include "setRootCase.H"
|
||||||
# include "createTime.H"
|
# include "createTime.H"
|
||||||
|
|
||||||
|
|
||||||
|
// Make sure we do not use the master-only reading since we read
|
||||||
|
// fields (different per processor) as dictionaries.
|
||||||
|
regIOobject::fileModificationChecking = regIOobject::timeStamp;
|
||||||
|
|
||||||
|
|
||||||
instantList timeDirs = timeSelector::select0(runTime, args);
|
instantList timeDirs = timeSelector::select0(runTime, args);
|
||||||
|
|
||||||
const bool isTestRun = args.optionFound("test");
|
const bool isTestRun = args.optionFound("test");
|
||||||
|
|||||||
Reference in New Issue
Block a user