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
182 stars 65 forks source link

Decompose structured grid into blocks #223

Open krober10nd opened 3 years ago

krober10nd commented 3 years ago

Is your feature request related to a problem?

Often times we need to decompose a calculation into slices or blocks of a structured grid to fit the calculation into memory.

Describe the solution you'd like

Create a generic function that takes meta data describing the grid and the file it’s in and a call back that should execute on this data.

This function could also take meta data describing the corners of the domain and grid spacing in lieu of the netcdf data file.

Additional context

This can be applied to the edgefx, meshgen, geodata, and related methods.