34 void Foam::CPCCellToCellStencil::calcPointBoundaryData
38 Map<labelList>& neiGlobal
41 neiGlobal.resize(2*boundaryPoints.size());
47 label pointi = boundaryPoints[i];
55 mesh().pointFaces()[pointi],
71 void Foam::CPCCellToCellStencil::calcCellStencil
77 labelList boundaryPoints(allCoupledFacesPatch()().meshPoints());
82 validBoundaryFaces(isValidBFace);
86 Map<labelList> neiGlobal;
94 globalCellCells.setSize(
mesh().nCells());
100 label pointi = boundaryPoints[i];
102 const labelList& pGlobals = neiGlobal[pointi];
109 label celli = pCells[j];
114 globalNumbering().toGlobal(celli),
116 globalCellCells[celli]
125 for (label pointi = 0; pointi <
mesh().
nPoints(); pointi++)
132 mesh().pointFaces()[pointi],
141 label celli = pCells[j];
145 globalNumbering().toGlobal(celli),
147 globalCellCells[celli]
158 cellToCellStencil(
mesh)
162 calcCellStencil(*
this);