JuliaGeometry/Meshes.jl

Add refinement method based on edge predicates

Open

#1,118 opened on Oct 17, 2024

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Julia (98 forks)auto 404
featurehelp wanted

Repository metrics

Stars
 (460 stars)
PR merge metrics
 (PR metrics pending)

Description

A new EdgeRefinement(pred) to speed up the refinement of general Polygonal Meshes.

In this method, edges of the mesh are refined if the predicate holds true. By setting pred(e) = length(e) > maxlen(), we can refine the mesh adaptively for accurate visualization, without exploding the number of elements.

Contributor guide