CHLNDDEV / OceanMesh2D

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.).
https://github.com/sponsors/krober10nd
GNU General Public License v3.0
179 stars 65 forks source link

outgm in writefort15.m should be outgw? #249

Closed shinbunya closed 2 years ago

shinbunya commented 2 years ago

Describe the bug outgm in writefort15.m should be outgw?

To Reproduce Invoke writefort15.m with a nonzero nws. This gives: `Unrecognized field name "outgm".

Error in writefort15 (line 283) fprintf( fid, '%d %g %g %d', f15dat.outgm ) ;

Error in msh/write (line 255) writefort15( obj.f15, [fname '.15'], obj.bd );`

Expected behavior No error should be seen.

shinbunya commented 2 years ago

Or, outgw in readfort15.m should be outgm.

WPringle commented 2 years ago

Yes the outgw in readfort15.m should be outgm. That's strange, I remember changing this recently. It must not have been merged correctly.

shinbunya commented 2 years ago

Thanks!