STYLE: use MUST_READ consistently for decomposeParDict

- there was a slight mix of MUST_READ and MUST_READ_IF_MODIFIED
  but with no obvious code to handle runtime modified values
  of the decomposition, or how this works with alternative
  dictionaries.
This commit is contained in:
Mark Olesen
2016-11-24 11:26:03 +01:00
parent e9e9760329
commit 55ed6ec776
5 changed files with 5 additions and 5 deletions

View File

@ -916,7 +916,7 @@ int main(int argc, char *argv[])
"decomposeParDict", "decomposeParDict",
runTime.system(), runTime.system(),
mesh, mesh,
IOobject::MUST_READ_IF_MODIFIED, IOobject::MUST_READ,
IOobject::NO_WRITE IOobject::NO_WRITE
), ),
decompDictFile decompDictFile

View File

@ -347,7 +347,7 @@ int main(int argc, char *argv[])
runTime.time().system(), runTime.time().system(),
regionDir, // use region if non-standard regionDir, // use region if non-standard
runTime, runTime,
IOobject::MUST_READ_IF_MODIFIED, IOobject::MUST_READ,
IOobject::NO_WRITE, IOobject::NO_WRITE,
false false
), ),

View File

@ -69,7 +69,7 @@ int readNumProcs
dictName, dictName,
runTime.system(), runTime.system(),
runTime, runTime,
IOobject::MUST_READ_IF_MODIFIED, IOobject::MUST_READ,
IOobject::NO_WRITE, IOobject::NO_WRITE,
false false
), ),

View File

@ -170,7 +170,7 @@ int main(int argc, char *argv[])
"decomposeParDict", "decomposeParDict",
runTime.system(), runTime.system(),
runTime, runTime,
IOobject::MUST_READ_IF_MODIFIED, IOobject::MUST_READ,
IOobject::NO_WRITE IOobject::NO_WRITE
), ),
decompDictFile decompDictFile

View File

@ -847,7 +847,7 @@ Foam::distributedTriSurfaceMesh::independentlyDistributedBbs
"decomposeParDict", "decomposeParDict",
searchableSurface::time().system(), searchableSurface::time().system(),
searchableSurface::time(), searchableSurface::time(),
IOobject::MUST_READ_IF_MODIFIED, IOobject::MUST_READ,
IOobject::NO_WRITE IOobject::NO_WRITE
) )
) )