repo.or.cz
/
OpenFOAM-1.5.x.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
initial commit for version 1.5.x patch release
[OpenFOAM-1.5.x.git]
/
applications
/
utilities
/
postProcessing
/
dataConversion
/
foamToEnsightParts
/
checkHasLagrangian.H
blob
18f9ddf805919f9d7c1cecae9fc5daa511098aaf
1
// check for lagrangian/positions information in the final directory
2
3
bool hasLagrangian = false;
4
if (timeDirs.size() > 1)
5
{
6
IOobject io
7
(
8
"positions",
9
timeDirs[timeDirs.size() - 1].name(),
10
"lagrangian",
11
mesh,
12
IOobject::NO_READ
13
);
14
15
if (io.headerOk())
16
{
17
hasLagrangian = true;
18
}
19
}