Mercurial > repos > public > sbplib_julia
changeset 1244:eb19cd128157 refactor/grids
Group eval_on with other gridfunction functionality
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 21 Feb 2023 21:37:37 +0100 |
parents | 783284b3e438 |
children | 6323d2fe3b4f |
files | src/Grids/grid.jl |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/Grids/grid.jl Tue Feb 21 21:36:49 2023 +0100 +++ b/src/Grids/grid.jl Tue Feb 21 21:37:37 2023 +0100 @@ -14,7 +14,6 @@ nrangedims(::Grid{T,D,RD}) where {T,D,RD} = RD Base.eltype(::Grid{T,D,RD}) where {T,D,RD} = T # vad ska eltype vara? Inte T väl... en vektor? SVector{T,D}? -function eval_on(::Grid) end # TODO: Should return a LazyArray and index the grid function refine(::Grid) end function coarsen(::Grid) end # Should this be here? What if it is not possible? @@ -38,8 +37,9 @@ dims(grid::Grid) = 1:ndims(grid) +# TBD: New file grid_functions.jl? -# TBD: New file grid_functions.jl? +function eval_on(::Grid) end # TODO: Should return a LazyArray and index the grid """ getcomponent(gfun, I::Vararg{Int})