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 }
bool hasMovingMesh
static instantList timeDirs
Definition: globalFoam.H:44
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Definition: label.H:59
word name(const bool)
Return a word representation of a bool.
Definition: boolIO.C:39