FreeFOAM The Cross-Platform CFD Toolkit
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 }
19 
20 // ************************ vim: set sw=4 sts=4 et: ************************ //