Skip to content

Commit

Permalink
Remove vertex-edge-intersection check in FrontUpdate.h
Browse files Browse the repository at this point in the history
The call to `vertex.intersects_mesh_edges()`, which checked if a
vertex is placed too close to its surrounding edges has been removed.
This check led to wrong element sizes when choosing quad layers with
very small heights (compared to the global element size).
It was also found that this check is not required to pass the
current meshing tests and thus has been removed.
  • Loading branch information
FloSewn committed Apr 25, 2024
1 parent dba5ebd commit 1762bdd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/algorithm/FrontUpdate.h
Original file line number Diff line number Diff line change
Expand Up @@ -386,9 +386,6 @@ class FrontUpdate
if ( v.intersects_facet(quads, range) )
{ DEBUG_LOG(" > QUAD INTERSECTION"); return false; }

if ( v.intersects_mesh_edges(mesh_, range, ve_intersection_ * rho) )
{ DEBUG_LOG(" > EDGE INTERSECTION"); return false; }

DEBUG_LOG(" > VALID");
return true;

Expand Down Expand Up @@ -426,7 +423,6 @@ class FrontUpdate

double min_cell_quality_ = 0.0;
double max_cell_angle_ = M_PI;
double ve_intersection_ = 0.01;

}; // FrontUpdate

Expand Down

0 comments on commit 1762bdd

Please sign in to comment.