File size: 662 Bytes
5a600cf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// check for "points" in any of the result directories

bool meshMoving = false;
if (Times.size() > 1)
{
    // We already loaded a mesh (usually from constant). See if any other
    // points files
    forAll(Times, timeI)
    {
        if (Times[timeI].name() != mesh.pointsInstance())
        {
            typeIOobject<pointIOField> io
            (
                "points",
                Times[timeI].name(),
                polyMesh::meshSubDir,
                mesh,
                IOobject::NO_READ
            );

            if (io.headerOk())
            {
                meshMoving = true;
                break;
            }
        }
    }
}