Moved file path handling to regIOobject and made it type specific so now every object can have its own rules. Examples: - faceZones are now processor local (and don't search up anymore) - timeStampMaster is now no longer hardcoded inside IOdictionary (e.g. uniformDimensionedFields support it as well) - the distributedTriSurfaceMesh is properly processor-local; no need for fileModificationChecking manipulation.
19 lines
437 B
C
19 lines
437 B
C
// check for "points" in all of the result directories
|
|
|
|
bool hasMovingMesh = false;
|
|
if (timeDirs.size() > 1)
|
|
{
|
|
hasMovingMesh = true;
|
|
for (label i=0; i < timeDirs.size() && hasMovingMesh; ++i)
|
|
{
|
|
hasMovingMesh = IOobject
|
|
(
|
|
"points",
|
|
timeDirs[i].name(),
|
|
polyMesh::meshSubDir,
|
|
mesh,
|
|
IOobject::NO_READ
|
|
).typeHeaderOk<pointIOField>(true);
|
|
}
|
|
}
|