Go to the documentation of this file.
49 #ifndef foamVtuCells_H
50 #define foamVtuCells_H
87 bool decomposeRequest_;
122 void operator=(
const vtuCells&) =
delete;
179 inline bool empty()
const noexcept;
Encapsulated combinations of output format options. This is primarily useful when defining the output...
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).
~vtuCells()=default
Destructor.
Mesh consisting of general polyhedral cells.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
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...