52 FaceListType& faces =
pp;
55 faces.addressing() =
set.sortedToc();
61 writer.open(file, parallel);
74 const label faceIdOffset =
76 writer.parallel() ? globalIndex::calcOffset(
mesh.nFaces()) : 0
81 faceValues += faceIdOffset;
84 writer.write(
"faceID", faceValues);
Write concrete PrimitivePatch faces/points (optionally with fields) as a vtp file or a legacy vtk fil...
A class for handling file names.
vtk::lineWriter writer(edgeCentres, edgeList::null(), fileName(aMesh.time().globalPath()/"finiteArea-edgesCentres"))
Encapsulated combinations of output format options. This is primarily useful when defining the output...
A list of faces which address into the list of points.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
Write topoSet in VTK format.
bool writeFaceSet(const polyMesh &mesh, const faceSet &set, const vtk::outputOptions opts, const fileName &file, bool parallel=UPstream::parRun())
Write faceSet as VTK polydata file.
Mesh consisting of general polyhedral cells.
List< label > labelList
A List of labels.
A List with indirect addressing.
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())