FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

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 }
00019 
00020 // ************************ vim: set sw=4 sts=4 et: ************************ //
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines