Go to the documentation of this file.
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;
Encapsulated combinations of output format options. This is primarily useful when defining the output...
const labelList & vertLabels() const noexcept
Values for "connectivity" (XML) or "CELLS" (legacy)
static Ostream & output(Ostream &os, const IntRange< T > &range)
contentType
Types of content that the storage may represent.
bool decomposeRequested() const noexcept
Query the polyhedral decompose requested flag.
void reset(const polyMesh &mesh)
const labelList & vertOffsets() const noexcept
Values for "offsets" (XML only)
Mesh consisting of general polyhedral cells.
const labelList & faceLabels() const noexcept
Values for "faces" (XML only)
void resetShapes(const UList< cellShape > &shapes)
Reset sizing using primitive shapes only (ADVANCED USAGE)
enum contentType content() const noexcept
The output content type.
bool decompose() const noexcept
Query the decompose flag (normally off)
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.
label size() const noexcept
The size of populated cellTypes.
const labelList & cellMap() const noexcept
Original cell ids for all cells (regular and decomposed).
const labelList & addPointCellLabels() const noexcept
Additional point addressing (from added point to original cell)
void clear()
Reset all sizes to zero.
const labelList & faceOffsets() const noexcept
Values for "faceoffset" (XML only)
void renumberPoints(const labelUList &mapping)
Renumber point ids to account for subset meshes.
const List< uint8_t > & cellTypes() const noexcept
Values for "types" (XML) and "CELL_TYPES" (legacy)
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
A deep-copy description of an OpenFOAM volume mesh in data structures suitable for VTK UnstructuredGr...
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...