Mercurial > repos > public > sbplib_julia
view src/Grids/Grids.jl @ 1529:43aaf710463e refactor/equidistant_grid/signature
Change to signature of equidistant_grid to same style as many array methods.
See for example Array{T}(undef, dims...), zeros(T, dims...), fill(a, dims...) and more.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 11 Apr 2024 22:31:04 +0200 |
parents | 62f9d0387a2a |
children | ae2dbfb984a9 81e97d3bec8c 611ae2308aa1 |
line wrap: on
line source
module Grids using Sbplib.RegionIndices using Sbplib.LazyTensors using StaticArrays # Grid export Grid export coordinate_size export component_type export grid_id export boundary_id export boundary_indices export boundary_identifiers export boundary_grid export coarsen export refine export eval_on export componentview export ArrayComponentView export BoundaryIdentifier export TensorGridBoundary export CartesianBoundary export TensorGrid export ZeroDimGrid export EquidistantGrid export inverse_spacing export spacing export equidistant_grid abstract type BoundaryIdentifier end include("grid.jl") include("tensor_grid.jl") include("equidistant_grid.jl") include("zero_dim_grid.jl") end # module