openfoam/applications/utilities/postProcessing/dataConversion/foamToEnsight/checkMeshMoving.H
2008-04-15 18:56:58 +01:00

21 lines
361 B
C

bool meshMoving = true;
if (Times.size() > 2)
{
for(label n2=2; n2<Times.size(); n2++)
{
IOobject tmpPoints
(
"points",
Times[n2].name(),
polyMesh::meshSubDir,
mesh,
IOobject::NO_READ
);
meshMoving = meshMoving && tmpPoints.headerOk();
}
}
else
{
meshMoving = false;
}