BUG: cvMesh: Correct removal of out-of-bound shape in octree

This commit is contained in:
laurence
2012-03-30 09:40:26 +01:00
parent 04bacc14d5
commit 160f1b52b6

View File

@ -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
);
}