Mercurial > repos > public > sbplib_julia
diff grid_refactor.md @ 1343:fa3695f634de refactor/grids
More clean up of todos and notes
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 15 May 2023 22:37:33 +0200 |
parents | c0c1189c5f2e |
children | c2012db881cb |
line wrap: on
line diff
--- a/grid_refactor.md Fri May 12 15:50:09 2023 +0200 +++ b/grid_refactor.md Mon May 15 22:37:33 2023 +0200 @@ -1,9 +1,5 @@ # Grids refactor -## Goals before merging -* A somewhat clear path towards multi-block grids and their grid functions. -* A somewhat clear path towards implementations of div() and rot() or the elastic operator (See Notes.md) - ## Change summary * `EquidistantGrid` is now only a 1D thing. * Higher dimensions are supported through `TensorGrid`. @@ -13,18 +9,6 @@ * 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 -* Add benchmarks or allocation tests for eval_on and indexing grids. -* Add benchmarks for range type in EquidistantGrid. (LinRange vs StepRange) -* Write about the design choices in the docs. -* Merge and run benchmarks - * Clean out Notes.md of any solved issues * Delete this document, move remaining notes to Notes.md - -## Frågor - -### Implement the tensor product operator for grids? -Yes! -This could be a useful way to create grids with mixes of different kinds of 1d grids. An example could be a grid which is periodic in one direction and bounded in one.