57 Info<<
"Maximum possible number of faces in mesh: " << maxFaces <<
endl;
82 labelList faceOfNeiCell(curFaces.size(), -1);
84 label nNeighbours = 0;
94 const face& curFace = curFaces[faceI];
103 const labelList& curNeighbours = PointCells[curPoints[pointI]];
106 forAll(curNeighbours, neiI)
108 label curNei = curNeighbours[neiI];
117 forAll(searchFaces, neiFaceI)
119 if (searchFaces[neiFaceI] == curFace)
125 neiCells[faceI] = curNei;
126 faceOfNeiCell[faceI] = neiFaceI;
141 for (
label neiSearch = 0; neiSearch < nNeighbours; neiSearch++)
149 if (neiCells[ncI] > -1 && neiCells[ncI] < minNei)
152 minNei = neiCells[ncI];
165 cellPolys_[neiCells[nextNei]][faceOfNeiCell[nextNei]] =
169 neiCells[nextNei] = -1;
177 <<
"Error in internal face insertion"