Skip to content
Snippets Groups Projects
Commit e8d65106 authored by laurence's avatar laurence
Browse files

ENH: foamyHexMesh: Insert referred points that are outside convex hull

parent 670476dd
Branches
Tags
No related merge requests found
......@@ -966,6 +966,15 @@ Foam::DistributedDelaunayMesh<Triangulation>::rangeInsertReferredWithInfo
) << "Point is outside affine hull! pt = " << pointToInsert
<< endl;
}
else if (lt == Triangulation::OUTSIDE_CONVEX_HULL)
{
// @todo Can this be optimised?
//
// Only want to insert if a connection is formed between
// pointToInsert and an internal or internal boundary point.
hint = Triangulation::insert(pointToInsert, c);
inserted = true;
}
else
{
// Get the cells that conflict with p in a vector V,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment