mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
),
|
),
|
||||||
|
|||||||
@ -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
|
||||||
),
|
),
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user