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.).
In Calc_f13.m: If "obj.f13" is empty, then "broken" is undefined and the code breaks when default values are set on Line 109. Here we let broken=0 to allow default values to be defined.
In Make_f15.m: In original code, "all()" is acting on "abs(...)" and not the logical comparison. Here the parentheses are moved so that "all()" acts on the logical comparison in each coordinate.
In Calc_f13.m: If "obj.f13" is empty, then "broken" is undefined and the code breaks when default values are set on Line 109. Here we let broken=0 to allow default values to be defined.
In Make_f15.m: In original code, "all()" is acting on "abs(...)" and not the logical comparison. Here the parentheses are moved so that "all()" acts on the logical comparison in each coordinate.