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