Go to the documentation of this file.
36 #ifndef cellToFaceStencil_H
37 #define cellToFaceStencil_H
42 #include "indirectPrimitivePatch.H"
cellToFaceStencil(const polyMesh &)
Construct from mesh.
void validBoundaryFaces(boolList &isValidBFace) const
Valid boundary faces (not empty and not coupled)
const polyMesh & mesh() const
Combine operator for labelLists.
void operator()(labelList &x, const labelList &y) const
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.
static void merge(const label, const label, const labelList &, labelList &)
Merge two lists.
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.
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
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.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const globalIndex globalNumbering_
Global numbering for cells and boundary faces.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
labelList calcFaceCells(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)