DUALMESH is a toolbox of mesh processing routines that allow the construction of "dual" meshes based on underlying simplicial triangulations. Support is provided for various planar and surface triangulation types, including non-Delaunay and non-manifold types.
DUALMESH makes use of a "generalised" dual-mesh paradigm that guarantees dual cells are "star-shaped" w.r.t. their associated generating vertices, even when mesh quality is very low or for highly curved surface discretisations. This generalised dual-mesh is equivalent to the conventional Voronoi diagram when the input is a so-called "well-centred" Delaunay triangulation.
Dual-meshes are useful for a variety of numerical methods, and are often used as a basis for unstructured finite-volume or discontinuous Galerkin finite-element formulations.
See DEMODUAL2, MAKEDUAL2 for additional information.
Darren Engwirda (2022). DUALMESH - Polygonal mesh construction. (https://github.com/dengwirda/dual-mesh), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!