50 #ifndef Foam_vtk_vtuCells_H 51 #define Foam_vtk_vtuCells_H 90 bool decomposeRequest_;
356 template<
class Po
intType = Foam::po
int>
373 #include "foamVtuCells.txx" const labelList & cellMap() const noexcept
The mesh cell ids for all cells (regular and decomposed).
const labelList & vertOffsets() const noexcept
The "offsets" into the connectivity list vertLabels()
const labelList & polyFaceOffsets() const noexcept
Offsets into the polyhedral face ids (HDF only)
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
The polyhedral "faces" or "FaceConnectivity".
tmp< Field< PointType > > points(const polyMesh &mesh) const
Return the mesh points, possibly with cell centres for addPointCellLabels()
Bookkeeping for mesh subsetting and/or polyhedral cell decomposition. Although the main use case is f...
A class for managing references or pointers (no reference counting)
bool usePointMap() const noexcept
The pointMap is available and non-identity [FUTURE USE].
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 operator=(const vtuCells &)=delete
No copy assignment.
contentType
Types of content that the storage may represent.
const labelList & polyFaceIds() const
Face ids per polyhedral cell (HDF only)
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)
vtuCells(const vtuCells &)=delete
No copy construct.
void clear()
Reset all sizes to zero.
bool is_hdf() const noexcept
Test for hdf content type.
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
The cell "connectivity" (legacy: "CELLS")
label size() const noexcept
The size of populated cellTypes (the number of cells)
Mesh consisting of general polyhedral cells.
const labelUList & pointMap() const noexcept
The mesh point ids [FUTURE USE].
const labelList & faceOffsets() const noexcept
The "facesoffset" or the "FaceOffsets".
A class for managing temporary objects.
void reset(const polyMesh &mesh)
Create the geometry using the previously requested output and decomposition types.
bool useCellMap() const noexcept
The cellMap is non-identity for a SUBSET_MESH or when there are decomposed cells. ...
const List< uint8_t > & cellTypes() const noexcept
The cell "types" (legacy: "CELL_TYPES")
A deep-copy description of an OpenFOAM volume mesh in data structures suitable for VTK UnstructuredGr...