Go to the documentation of this file.
49 #ifndef foamVtuCells_H
50 #define foamVtuCells_H
86 bool decomposeRequest_;
121 void operator=(
const vtuCells&) =
delete;
171 inline bool empty()
const noexcept;
174 inline label
size()
const noexcept;
Encapsulated combinations of output format options. This is primarily useful when defining the output...
static Ostream & output(Ostream &os, const IntRange< T > &range)
bool decompose() const
Query the decompose flag (normally off)
enum contentType content() const
The output content type.
void reset(const polyMesh &mesh)
const List< uint8_t > & cellTypes() const
Values for "types" (XML) and "CELL_TYPES" (legacy)
const labelList & cellMap() const
Original cell ids for all cells (regular and decomposed).
Mesh consisting of general polyhedral cells.
const labelList & vertOffsets() const
Values for "offsets" (XML only)
const labelList & addPointCellLabels() const
Additional point addressing (from added point to original cell)
const labelList & vertLabels() const
Values for "connectivity" (XML) or "CELLS" (legacy)
contentType
Types of content that the storage may represent.
Sizing descriptions and routines for transcribing an OpenFOAM volume mesh into a VTK unstructured gri...
void renumberCells(const labelUList &mapping)
Renumber cell ids to account for subset meshes.
const labelList & faceLabels() const
Values for "faces" (XML only)
label size() const noexcept
The size of populated cellTypes.
const labelList & faceOffsets() const
Values for "faceoffset" (XML only)
void clear()
Reset all sizes to zero.
void renumberPoints(const labelUList &mapping)
Renumber point ids to account for subset meshes.
A deep-copy description of an OpenFOAM volume mesh in data structures suitable for VTK UnstructuredGr...
bool decomposeRequested() const
Query the polyhedral decompose requested flag.
bool empty() const noexcept
True if no cellTypes are populated.
Bookkeeping for mesh subsetting and/or polyhedral cell decomposition. Although the main use case is f...