Go to the documentation of this file.
55 label bFaceI = faceI-
mesh().nInternalFaces();
56 neiGlobal[bFaceI] = globalNumbering().toGlobal(own[faceI]);
60 else if (isA<emptyPolyPatch>(pp))
64 label bFaceI = faceI-
mesh().nInternalFaces();
65 neiGlobal[bFaceI] = -1;
74 label bFaceI = faceI-
mesh().nInternalFaces();
76 globalNumbering().toGlobal(
mesh().nCells()+bFaceI);
81 syncTools::swapBoundaryFaceList(
mesh(), neiGlobal);
106 forAll(globalCellCells, cellI)
110 labelList& cCells = globalCellCells[cellI];
122 label faceI = cFaces[i];
124 if (
mesh().isInternalFace(faceI))
126 label nbrCellI = own[faceI];
127 if (nbrCellI == cellI)
129 nbrCellI = nei[faceI];
138 cCells[nNbr++] = nbrCellI;
const polyMesh & mesh() const
#define forAll(list, i)
Loop across all elements in list.
virtual bool coupled() const
Return true if this patch is geometrically coupled (i.e. faces and.
const cellList & cells() const
Mesh consisting of general polyhedral cells.
const globalIndex & globalNumbering() const
Global numbering for cells and boundary faces.
void calcFaceBoundaryData(labelList &neiGlobal) const
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A patch is a list of labels that address the faces in the global face list.
virtual const labelList & faceOwner() const
Return face owner.
label nInternalFaces() const
label start() const
Return start label of this patch in the polyMesh face list.
void calcCellStencil(labelListList &globalCellCells) const
void setSize(const label)
Reset size of List.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void size(const label)
Override size to be inconsistent with allocated storage.
baseclass for extended cell centred addressing. Contains per cell a list of neighbouring cells and/or...
CFCCellToCellStencil(const polyMesh &mesh)
Construct from mesh.
A cell is defined as a list of faces with extra functionality.
virtual const labelList & faceNeighbour() const
Return face neighbour.
label toGlobal(const label i) const
From local to global.