FreeFOAM The Cross-Platform CFD Toolkit
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=startTime; n1<endTime && 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 }
22 
23 // ************************ vim: set sw=4 sts=4 et: ************************ //