mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: cvMesh: Correct removal of out-of-bound shape in octree
This commit is contained in:
@ -440,6 +440,10 @@ void Foam::conformalVoronoiMesh::buildSurfaceConformation
|
||||
existingSurfacePtLocations
|
||||
);
|
||||
}
|
||||
// else
|
||||
// {
|
||||
// vit->setInternal();
|
||||
// }
|
||||
}
|
||||
else if (vit->ppSlave() || vit->referredExternal())
|
||||
{
|
||||
@ -477,6 +481,10 @@ void Foam::conformalVoronoiMesh::buildSurfaceConformation
|
||||
existingSurfacePtLocations
|
||||
);
|
||||
}
|
||||
// else
|
||||
// {
|
||||
// vit->setInternal();
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
@ -2697,7 +2705,7 @@ void Foam::conformalVoronoiMesh::addSurfaceAndEdgeHits
|
||||
// NEED TO REMOVE FROM THE SURFACE TREE...
|
||||
surfacePtLocationTreePtr_().remove
|
||||
(
|
||||
existingSurfacePtLocations.size()
|
||||
existingSurfacePtLocations.size() - 1
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user