openfoam/applications/utilities/postProcessing/dataConversion/foamToEnsight/checkData.H
mattijs 605088884e ENH: point merging of internal and patches.
Uses globalMeshData::mergePoints to topologically merge mesh points.
Also now require all patches on all processors so cleaned up all code for
handling zero-sized patches.
2010-02-08 17:36:13 +00:00

22 lines
473 B
C

// ignore special fields or fields that we don't handle
//
bool variableGood = true;
for (label n1=0; n1<Times.size() && variableGood; ++n1)
{
// ignore _0 fields
if (fieldName.size() > 2 && fieldName(fieldName.size() - 2, 2) == "_0")
{
variableGood = false;
}
else
{
variableGood = IOobject
(
fieldName,
Times[n1].name(),
mesh,
IOobject::NO_READ
).headerOk();
}
}