38#ifndef cellToFaceStencil_H
39#define cellToFaceStencil_H
140 return globalNumbering_;
labelList faceLabels(nFaceLabels)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
cellToFaceStencil(const polyMesh &)
Construct from mesh.
const polyMesh & mesh() const
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 globalIndex & globalNumbering() const
Global numbering for cells and boundary faces.
Calculates a non-overlapping list of offsets based on an input size (eg, number of cells) from differ...
Mesh consisting of general polyhedral cells.
List< labelList > labelListList
List of labelList.
List< label > labelList
A List of labels.
HashSet< label, Hash< label > > labelHashSet
A HashSet of labels, uses label hasher.
List< bool > boolList
A List of bools.