ment">%-------------------------------------------------</span>
0051 
0052 <span class="comment">% read the Mesh from an FVCOM grid file</span>
0053 Mobj = read_fvcom_mesh(fvcom_mesh); 
0054 x = Mobj.x;
0055 y = Mobj.y;
0056 
0057 <span class="comment">% read the bathymetry from an FVCOM grid file</span>
0058 Mobj.h = read_fvcom_bath(fvcom_bath); 
0059 h = Mobj.h;
0060 
0061 <span class="comment">% set cell center coordinates</span>
0062 Mobj.xc = nodes2elems(x,Mobj);
0063 Mobj.yc = nodes2elems(y,Mobj);
006