Mercurial > repos > public > sbplib_julia
diff src/Grids/grid.jl @ 1332:ad31c1022e42 refactor/grids
Rename function for coordinate size of a grid
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Wed, 03 May 2023 15:31:53 +0200 |
| parents | ed3ea0630825 |
| children | 79a2193da5c1 |
line wrap: on
line diff
--- a/src/Grids/grid.jl Wed May 03 15:29:44 2023 +0200 +++ b/src/Grids/grid.jl Wed May 03 15:31:53 2023 +0200 @@ -19,7 +19,7 @@ Base.ndims(::Grid{T,D}) where {T,D} = D Base.eltype(::Type{<:Grid{T}}) where T = T -target_manifold_dim(::Grid{T}) where T = _ncomponents(T) # TBD: Name of this function?! +coordinate_size(::Grid{T}) where T = _ncomponents(T) # TBD: Name of this function?! component_type(::Grid{T}) where T = eltype(T) """
