OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

checkHasMovingMesh.H

Go to the documentation of this file.
00001 // check for "points" in all of the result directories
00002 
00003 bool hasMovingMesh = false;
00004 if (timeDirs.size() > 1)
00005 {
00006     hasMovingMesh = true;
00007     for (label i=0; i < timeDirs.size() && hasMovingMesh; ++i)
00008     {
00009         hasMovingMesh = IOobject
00010         (
00011             "points",
00012             timeDirs[i].name(),
00013             polyMesh::meshSubDir,
00014             mesh,
00015             IOobject::NO_READ
00016         ).headerOk();
00017     }
00018 }
Copyright © 2000-2009 OpenCFD Ltd