repo.or.cz
/
OpenFOAM-2.0.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 2.0.x patch release
[OpenFOAM-2.0.x.git]
/
applications
/
utilities
/
postProcessing
/
dataConversion
/
foamToEnsight
/
checkData.H
blob
76b55aada76000ef4671daffa9d506fd1c9cfbe7
1
// ignore special fields or fields that we don't handle
2
//
3
bool variableGood = true;
4
for (label n1=0; n1<Times.size() && variableGood; ++n1)
5
{
6
// ignore _0 fields
7
if (fieldName.size() > 2 && fieldName(fieldName.size() - 2, 2) == "_0")
8
{
9
variableGood = false;
10
}
11
else
12
{
13
variableGood = IOobject
14
(
15
fieldName,
16
Times[n1].name(),
17
mesh,
18
IOobject::NO_READ
19
).headerOk();
20
}
21
}