Mercurial > repos > public > sbplib_julia
view grid_refactor.md @ 1344:760a4a1ec4b7 refactor/grids
Add 2D tests for dissipation operators and fix bug
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 15 May 2023 22:37:55 +0200 |
parents | fa3695f634de |
children | c2012db881cb |
line wrap: on
line source
# Grids refactor ## Change summary * `EquidistantGrid` is now only a 1D thing. * Higher dimensions are supported through `TensorGrid`. * The old behavior of `EquidistantGrid` has been moved to the function `equidistant_grid`. * Grids embedded in higher dimensions are now supported through tensor products with `ZeroDimGrid`s. * Vector valued grid functions are now supported and the default element type is `SVector`. * Grids are now expected to support Julia's indexing and iteration interface. * `eval_on` can be called with both `f(x,y,...)` and `f(x̄)`. ## TODO * Clean out Notes.md of any solved issues * Delete this document, move remaining notes to Notes.md