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 = IOobject
10  (
11  "points",
12  timeDirs[i].name(),
13  polyMesh::meshSubDir,
14  mesh,
15  IOobject::NO_READ
16  ).headerOk();
17  }
18 }
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
dynamicFvMesh & mesh
static instantList timeDirs
Definition: globalFoam.H:44
word name(const complex &)
Return a string representation of a complex.
Definition: complex.C:47
bool hasMovingMesh