Forward compatibility: flex
[foam-extend-3.2.git] / applications / utilities / postProcessing / dataConversion / foamToEnsightParts / checkHasMovingMesh.H
bloba5a2dd7d2d8d9e1b05c1c629fb4c6aa3935ed918
1 // check for "points" in all of the result directories
3 bool hasMovingMesh = false;
4 if (timeDirs.size() > 1)
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     }