35 void Foam::CECCellToCellStencil::calcEdgeBoundaryData
39 EdgeMap<labelList>& neiGlobal
42 neiGlobal.reserve(boundaryEdges.size());
48 label edgeI = boundaryEdges[i];
52 mesh().edges()[edgeI],
56 mesh().edgeFaces(edgeI),
72 void Foam::CECCellToCellStencil::calcCellStencil
80 allCoupledFacesPatch()().meshEdges
113 validBoundaryFaces(isValidBFace);
119 EdgeMap<labelList> neiGlobal;
127 globalCellCells.setSize(
mesh().nCells());
133 label edgeI = boundaryEdges[i];
142 label celli = eCells[j];
147 globalNumbering().toGlobal(celli),
149 globalCellCells[celli]
158 for (label edgeI = 0; edgeI <
mesh().
nEdges(); edgeI++)
165 mesh().edgeFaces(edgeI),
174 label celli = eCells[j];
178 globalNumbering().toGlobal(celli),
180 globalCellCells[celli]
191 cellToCellStencil(
mesh)
194 calcCellStencil(*
this);
List< labelList > labelListList
List of labelList.
CECCellToCellStencil(const polyMesh &)
Construct from all cells and boundary faces.
#define forAll(list, i)
Loop across all elements in list.
HashSet< label, Hash< label > > labelHashSet
A HashSet of labels, uses label hasher.
const labelListList & edgeCells() const
label nEdges() const
Number of mesh edges.
const edgeList & edges() const
Return mesh edges. Uses calcEdges.
labelList calcFaceCells(const boolList &nonEmptyFace, const labelList &faceLabels, labelHashSet &globals) const
Collect cell neighbours of faces in global numbering.
const polyMesh & mesh() const
List< label > labelList
A List of labels.
List< bool > boolList
A List of bools.