mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: selectCells: parallel running
This commit is contained in:
@ -268,7 +268,7 @@ label selectOutsideCells
|
|||||||
// Find cell containing point. Linear search.
|
// Find cell containing point. Linear search.
|
||||||
label cellI = queryMesh.findCell(outsidePts[outsidePtI], -1, false);
|
label cellI = queryMesh.findCell(outsidePts[outsidePtI], -1, false);
|
||||||
|
|
||||||
if (cellType[cellI] == MESH)
|
if (cellI != -1 && cellType[cellI] == MESH)
|
||||||
{
|
{
|
||||||
Info<< "Marking cell " << cellI << " containing outside point "
|
Info<< "Marking cell " << cellI << " containing outside point "
|
||||||
<< outsidePts[outsidePtI] << " with type " << cellType[cellI]
|
<< outsidePts[outsidePtI] << " with type " << cellType[cellI]
|
||||||
|
|||||||
Reference in New Issue
Block a user