checkHasMovingMesh.H
Go to the documentation of this file.
1 // check for "points" in all of the result directories
2 
3 bool hasMovingMesh = false;
4 if (timeDirs.size() > 1)
5 {
6  hasMovingMesh = true;
7  for (label i=0; i < timeDirs.size() && hasMovingMesh; ++i)
8  {
9  hasMovingMesh = typeIOobject<pointIOField>
10  (
11  "points",
12  timeDirs[i].name(),
13  polyMesh::meshSubDir,
14  mesh,
15  IOobject::NO_READ
16  ).headerOk();
17  }
18 }
FvWallInfoData< WallInfo, label > label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
fvMesh & mesh
static instantList timeDirs
Definition: globalFoam.H:44
bool hasMovingMesh