Mercurial > repos > public > sbplib_julia
comparison src/Grids/grid.jl @ 1324:0713175a5743 refactor/grids
Remove dims function
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Wed, 22 Mar 2023 08:50:33 +0100 |
| parents | 3b7ebd135918 |
| children | 5f05a708d730 |
comparison
equal
deleted
inserted
replaced
| 1293:c5cf32fab163 | 1324:0713175a5743 |
|---|---|
| 36 # TBD Can we implement a version here that accepts multiple ids and grouped boundaries? Maybe we need multiblock stuff? | 36 # TBD Can we implement a version here that accepts multiple ids and grouped boundaries? Maybe we need multiblock stuff? |
| 37 | 37 |
| 38 | 38 |
| 39 # TODO: Make sure that all grids implement all of the above. | 39 # TODO: Make sure that all grids implement all of the above. |
| 40 | 40 |
| 41 """ | |
| 42 dims(grid::Grid) | |
| 43 | 41 |
| 44 Enumerate the dimensions of the grid. | |
| 45 """ | |
| 46 dims(grid::Grid) = 1:ndims(grid) | |
| 47 # TBD: Is this function needed? Where is it used | |
| 48 """ | 42 """ |
| 49 TODO: | 43 TODO: |
| 50 | 44 |
| 51 * Mention map(f,g) if you want a concrete array | 45 * Mention map(f,g) if you want a concrete array |
| 52 """ | 46 """ |
