OpenFOAM
9
The OpenFOAM Foundation
checkMeshMoving.H
Go to the documentation of this file.
1
// check for "points" in any of the result directories
2
3
bool
meshMoving
=
false
;
4
if
(Times.size() > 1)
5
{
6
// We already loaded a mesh (usually from constant). See if any other
7
// points files
8
forAll
(Times, timeI)
9
{
10
if
(Times[timeI].
name
() !=
mesh
.pointsInstance())
11
{
12
IOobject io
13
(
14
"points"
,
15
Times[timeI].
name
(),
16
polyMesh::meshSubDir,
17
mesh
,
18
IOobject::NO_READ
19
);
20
if
(io.typeHeaderOk<
pointIOField
>(
true
))
21
{
22
meshMoving =
true
;
23
break
;
24
}
25
}
26
}
27
}
forAll
#define forAll(list, i)
Loop across all elements in list.
Definition:
UList.H:434
Foam::pointIOField
vectorIOField pointIOField
pointIOField is a vectorIOField.
Definition:
pointIOField.H:42
mesh
dynamicFvMesh & mesh
Definition:
createDynamicFvMesh.H:18
Foam::name
word name(const complex &)
Return a string representation of a complex.
Definition:
complex.C:47
meshMoving
bool meshMoving
Definition:
checkMeshMoving.H:3
applications
utilities
postProcessing
dataConversion
foamToEnsight
checkMeshMoving.H
Generated by
1.8.13