36 #ifndef cellToCellStencil_H 37 #define cellToCellStencil_H 103 const label exclude0,
104 const label exclude1,
137 return globalNumbering_;
static void merge(const label global0, const label global1, const labelList &listA, labelList &listB)
Merge two lists.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
void operator()(labelList &x, const labelList &y) const
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.
const globalIndex & globalNumbering() const
Global numbering for cells and boundary faces.
cellToCellStencil(const polyMesh &)
Construct from mesh.
const polyMesh & mesh() const
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
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.
Mesh consisting of general polyhedral cells.
Combine operator for labelLists.
autoPtr< indirectPrimitivePatch > allCoupledFacesPatch() const
Return patch of all coupled faces.
baseclass for extended cell centred addressing. Contains per cell a list of neighbouring cells and/or...