ENH: foamyHexMesh: Insert referred points that are outside convex hull
This commit is contained in:
parent
670476dd52
commit
e8d651060d
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user