38 const bool nearCellValue,
45 nearCellValue_(nearCellValue),
54 if (patchIDs_.size() == 1)
62 os_ <<
"DATASET UNSTRUCTURED_GRID" <<
std::endl;
71 const polyPatch& pp = patches[patchIDs_[i]];
78 nFaceVerts += pp[faceI].size() + 1;
82 os_ <<
"POINTS " << nPoints_ <<
" float" <<
std::endl;
88 const polyPatch& pp = patches[patchIDs_[i]];
94 os_ <<
"CELLS " << nFaces_ <<
' ' << nFaceVerts
104 const polyPatch& pp = patches[patchIDs_[i]];
110 const label fSize = f.
size();
111 vertLabels.append(fSize);
132 os_ <<
"CELL_TYPES " << nFaces_ <<
std::endl;
142 const fvMesh& mesh = vMesh_.mesh();
146 os_ <<
"patchID 1 " << nFaces_ <<
" float" <<
std::endl;
150 label patchI = patchIDs_[i];
154 if (!isA<emptyPolyPatch>(pp))