mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Increasing the range of the local sphere overlap test.
This commit is contained in:
@ -764,7 +764,7 @@ void Foam::conformalVoronoiMesh::buildParallelInterfaceIntersection
|
||||
Foam::point b = topoint(dual(c2));
|
||||
|
||||
// Only if the dual edge cuts the boundary of this processor is
|
||||
// it going to tbe counted.
|
||||
// it going to be counted.
|
||||
if (decomposition_().findLineAny(a, b).hit())
|
||||
{
|
||||
dE0.append(a);
|
||||
@ -778,15 +778,11 @@ void Foam::conformalVoronoiMesh::buildParallelInterfaceIntersection
|
||||
fIOuter++;
|
||||
}
|
||||
|
||||
timeCheck("buildParallelInterfaceIntersection before intersectsProc");
|
||||
|
||||
// Preform intersections in both directions, as there is no sense
|
||||
// associated with the Dual edge
|
||||
List<List<pointIndexHit> > intersectionForward(intersectsProc(dE0, dE1));
|
||||
List<List<pointIndexHit> > intersectionReverse(intersectsProc(dE1, dE0));
|
||||
|
||||
timeCheck("buildParallelInterfaceIntersection after intersectsProc");
|
||||
|
||||
// Reset counter
|
||||
fIOuter = 0;
|
||||
|
||||
@ -994,7 +990,7 @@ void Foam::conformalVoronoiMesh::buildParallelInterfaceInfluence
|
||||
|
||||
// Only if the circumsphere overlaps the boundary of this processor
|
||||
// is there a chance of it overlapping others
|
||||
if (decomposition_().overlapsThisProcessor(cc, crSqr))
|
||||
if (decomposition_().overlapsThisProcessor(cc, sqr(1.01)*crSqr))
|
||||
{
|
||||
circumcentre.append(cc);
|
||||
circumradiusSqr.append(crSqr);
|
||||
|
||||
Reference in New Issue
Block a user