mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: cvMesh: Faster point rejection in parallel
This commit is contained in:
@ -328,7 +328,7 @@ void Foam::controlMeshRefinement::initialMeshPopulation
|
||||
keep = decomposition().positionOnThisProcessor(pt);
|
||||
}
|
||||
|
||||
if (geometryToConformTo_.wellOutside(pt, SMALL))
|
||||
if (keep && geometryToConformTo_.wellOutside(pt, SMALL))
|
||||
{
|
||||
keep = false;
|
||||
}
|
||||
@ -505,7 +505,7 @@ void Foam::controlMeshRefinement::initialMeshPopulation
|
||||
keep = decomposition().positionOnThisProcessor(pt);
|
||||
}
|
||||
|
||||
if (geometryToConformTo_.wellOutside(pt, SMALL))
|
||||
if (keep && geometryToConformTo_.wellOutside(pt, SMALL))
|
||||
{
|
||||
keep = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user