view src/Grids/Grids.jl @ 1242:917cb8acbc17 refactor/grids

Remove AbstractArray subtyping for Grid for now
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 21 Feb 2023 21:13:37 +0100
parents 95e294576c2a
children 783284b3e438
line wrap: on
line source

module Grids

using Sbplib.RegionIndices
using Sbplib.LazyTensors

# Grid
export Grid
export dims
export points
export evalOn

# BoundaryIdentifier
export BoundaryIdentifier
export CartesianBoundary
export dim
export region

# EquidistantGrid
export EquidistantGrid
export spacing
export inverse_spacing
export restrict
export boundary_identifiers
export boundary_grid
export refine
export coarsen

include("grid.jl")
include("boundary_identifier.jl")
include("equidistant_grid.jl")
include("zero_dim_grid.jl")

abstract type BoundaryIdentifier end

end # module