48 "\n Usage: nbrToCell <nNeighbours>\n\n"
49 " Select all cells with <= nNeighbours neighbouring cells\n\n"
55 void Foam::nbrToCell::combine(topoSet&
set,
const bool add)
const
64 const polyPatch& pp = patches[patchI];
68 label faceI = pp.start();
79 const cell& cFaces = cells[cellI];
85 label faceI = cFaces[i];
97 if (nNbrCells <= minNbrs_)
127 minNbrs_(readLabel(dict.
lookup(
"neighbours")))
139 minNbrs_(readLabel(checkIs(is)))
159 Info<<
" Adding cells with only " << minNbrs_ <<
" or less"
160 " neighbouring cells" <<
" ..." <<
endl;
166 Info<<
" Removing cells with only " << minNbrs_ <<
" or less"
167 " neighbouring cells" <<
" ..." <<
endl;