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