38 #ifndef cellToFaceStencil_H 39 #define cellToFaceStencil_H 140 return globalNumbering_;
cellToFaceStencil(const polyMesh &)
Construct from mesh.
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.
Base class for extended cell-to-face stencils (face values from neighbouring cells) ...
labelList faceLabels(nFaceLabels)
const globalIndex & globalNumbering() const
Global numbering for cells and boundary faces.
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
const polyMesh & mesh() const
void calcFaceStencil(const labelListList &globalCellCells, labelListList &faceStencil) const
Collect cell neighbours into extended stencil.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Mesh consisting of general polyhedral cells.
void validBoundaryFaces(boolList &isValidBFace) const
Valid boundary faces (not empty and not coupled)
labelList calcFaceCells(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.
autoPtr< indirectPrimitivePatch > allCoupledFacesPatch() const
Return patch of all coupled faces.