36 #ifndef cellToFaceStencil_H
37 #define cellToFaceStencil_H
103 const label exclude0,
104 const label exclude1,
145 return globalNumbering_;
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Combine operator for labelLists.
void operator()(labelList &x, const labelList &y) const
Base class for extended cell-to-face stencils (face values from neighbouring cells)
cellToFaceStencil(const polyMesh &)
Construct from mesh.
const globalIndex & globalNumbering() const
Global numbering for cells and boundary faces.
autoPtr< indirectPrimitivePatch > allCoupledFacesPatch() const
Return patch of all coupled faces.
void calcFaceStencil(const labelListList &globalCellCells, labelListList &faceStencil) const
Collect cell neighbours into extended stencil.
void validBoundaryFaces(boolList &isValidBFace) const
Valid boundary faces (not empty and not coupled)
void insertFaceCells(const label exclude0, const label exclude1, const boolList &nonEmptyFace, const labelList &faceLabels, labelHashSet &globals) const
Collect cell neighbours of faces in global numbering.
static void merge(const label global0, const label global1, const labelList &listA, labelList &listB)
Merge two lists.
labelList calcFaceCells(const boolList &nonEmptyFace, const labelList &faceLabels, labelHashSet &globals) const
Collect cell neighbours of faces in global numbering.
const polyMesh & mesh() const
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
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.