checkData.H
Go to the documentation of this file.
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 }
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
dynamicFvMesh & mesh
word name(const complex &)
Return a string representation of a complex.
Definition: complex.C:47
bool variableGood
Definition: checkData.H:3