229 const label nCutLayers,
255 cellClassification::OUTSIDE,
256 cellClassification::INSIDE
264 if (cType == cellClassification::CUT)
268 else if (cType == cellClassification::INSIDE)
272 else if (cType == cellClassification::OUTSIDE)
297 for (label celli = 0; celli <
mesh.nCells(); celli++)
299 if (internalCells.found(celli))
306 const face&
f = faces[cFaces[cFacei]];
310 label pointi =
f[fp];
312 if (pointSide[pointi] == NOTSET)
314 pointSide[pointi] = INSIDE;
316 else if (pointSide[pointi] == OUTSIDE)
318 pointSide[pointi] = MIXED;
334 const face&
f = faces[cFaces[cFacei]];
338 label pointi =
f[fp];
340 if (pointSide[pointi] == NOTSET)
342 pointSide[pointi] = OUTSIDE;
344 else if (pointSide[pointi] == INSIDE)
346 pointSide[pointi] = MIXED;
376 for (
const label celli : internalCells)
380 label usesMixedOnly =
true;
382 for (
const label facei : cFaces)
384 const face&
f = faces[facei];
386 for (
const label pointi :
f)
388 if (pointSide[pointi] != MIXED)
390 usesMixedOnly =
false;
402 mixedOnlyCells.insert(celli);
406 return mixedOnlyCells;