Go to the documentation of this file.
34 void Foam::CECCellToCellStencil::calcEdgeBoundaryData
38 EdgeMap<labelList>& neiGlobal
41 neiGlobal.resize(2*boundaryEdges.size());
47 label edgeI = boundaryEdges[i];
51 mesh().edges()[edgeI],
55 mesh().edgeFaces(edgeI),
65 void Foam::CECCellToCellStencil::calcCellStencil
73 allCoupledFacesPatch()().meshEdges
106 validBoundaryFaces(isValidBFace);
112 EdgeMap<labelList> neiGlobal;
120 globalCellCells.setSize(
mesh().nCells());
126 label edgeI = boundaryEdges[i];
135 label celli = eCells[j];
140 globalNumbering().toGlobal(celli),
142 globalCellCells[celli]
158 mesh().edgeFaces(edgeI),
167 label celli = eCells[j];
171 globalNumbering().toGlobal(celli),
173 globalCellCells[celli]
187 calcCellStencil(*
this);
List< label > labelList
A List of labels.
const polyMesh & mesh() const
CECCellToCellStencil(const polyMesh &)
Construct from all cells and boundary faces.
labelList calcFaceCells(const boolList &nonEmptyFace, const labelList &faceLabels, labelHashSet &globals) const
Collect cell neighbours of faces in global numbering.
label nEdges() const
Number of mesh edges.
List< bool > boolList
A List of bools.
const edgeList & edges() const
Return mesh edges. Uses calcEdges.
Mesh consisting of general polyhedral cells.
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const labelListList & edgeCells() const
List< labelList > labelListList
A List of labelList.
HashSet< label, Hash< label > > labelHashSet
A HashSet with label keys and label hasher.
baseclass for extended cell centred addressing. Contains per cell a list of neighbouring cells and/or...