mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: cvMesh: Allow external boundaries to be filtered but not proc boundaries
This commit is contained in:
@ -79,9 +79,7 @@ void Foam::conformalVoronoiMesh::calcDualMesh
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// REMOVED BECAUSE THIS CODE STOPS ALL FACES NEAR ANY BOUNDARY (PROC OR REAL)
|
// THIS CODE STOPS ALL FACES NEAR ANY PROCESSOR BOUNDARY BEING FILTERED.
|
||||||
// FROM BEING FILTERED.
|
|
||||||
//
|
|
||||||
for
|
for
|
||||||
(
|
(
|
||||||
Delaunay::Finite_vertices_iterator vit = finite_vertices_begin();
|
Delaunay::Finite_vertices_iterator vit = finite_vertices_begin();
|
||||||
@ -104,19 +102,12 @@ void Foam::conformalVoronoiMesh::calcDualMesh
|
|||||||
// Allow filtering if any vertices are far points. Otherwise faces
|
// Allow filtering if any vertices are far points. Otherwise faces
|
||||||
// with boundary points attached to a cell with a far point will
|
// with boundary points attached to a cell with a far point will
|
||||||
// not be filtered.
|
// not be filtered.
|
||||||
// if
|
|
||||||
// (
|
|
||||||
// (!(*cit)->vertex(0)->real() && !(*cit)->vertex(0)->farPoint())
|
|
||||||
// || (!(*cit)->vertex(1)->real() && !(*cit)->vertex(1)->farPoint())
|
|
||||||
// || (!(*cit)->vertex(2)->real() && !(*cit)->vertex(2)->farPoint())
|
|
||||||
// || (!(*cit)->vertex(3)->real() && !(*cit)->vertex(3)->farPoint())
|
|
||||||
// )
|
|
||||||
if
|
if
|
||||||
(
|
(
|
||||||
(!(*cit)->vertex(0)->real())
|
(!(*cit)->vertex(0)->real() && !(*cit)->vertex(0)->farPoint())
|
||||||
|| (!(*cit)->vertex(1)->real())
|
|| (!(*cit)->vertex(1)->real() && !(*cit)->vertex(1)->farPoint())
|
||||||
|| (!(*cit)->vertex(2)->real())
|
|| (!(*cit)->vertex(2)->real() && !(*cit)->vertex(2)->farPoint())
|
||||||
|| (!(*cit)->vertex(3)->real())
|
|| (!(*cit)->vertex(3)->real() && !(*cit)->vertex(3)->farPoint())
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
hasProcPt = true;
|
hasProcPt = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user