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.
17 lines
294 B
C
17 lines
294 B
C
{
|
|
IOobject io
|
|
(
|
|
"points",
|
|
runTime.timeName(),
|
|
polyMesh::meshSubDir,
|
|
mesh
|
|
);
|
|
|
|
if (io.typeHeaderOk<pointIOField>(true))
|
|
{
|
|
// Read new points
|
|
io.readOpt() = IOobject::MUST_READ;
|
|
mesh.movePoints(pointIOField(io));
|
|
}
|
|
}
|