OpenFOAM
13
The OpenFOAM Foundation
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
= typeIOobject<pointIOField>
10
(
11
"points"
,
12
timeDirs
[i].
name
(),
13
polyMesh::meshSubDir,
14
mesh
,
15
IOobject::NO_READ
16
).headerOk();
17
}
18
}
hasMovingMesh
bool hasMovingMesh
Definition:
checkHasMovingMesh.H:3
mesh
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
timeDirs
static instantList timeDirs
Definition:
globalFoam.H:44
Foam::label
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Definition:
label.H:59
Foam::name
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
Definition:
LagrangianState.C:30
applications
utilities
postProcessing
dataConversion
foamToEnsightParts
checkHasMovingMesh.H
Generated by
1.9.1