A two-dimensional triangular mesh generator with pre- and post-processing utilities written in pure MATLAB (no toolboxes required) designed specifically to build models that solve shallow-water equations or wave equations in a coastal environment (ADCIRC, FVCOM, WaveWatch3, SWAN, SCHISM, Telemac, etc.).
This PR adds an optionally enabled finalizing method to improve the congruence of the boundary as depicted in the shoreline and the actual mesh connectivity.
It projects the boundary nodes only onto the 0-level set by solving a gradient descent optimization problem with a simple line search.