view src/Grids/Grids.jl @ 1236:95e294576c2a refactor/grids

Implement boundary methods for TensorGrid
author Jonatan Werpers <jonatan@werpers.com>
date Sun, 19 Feb 2023 22:50:02 +0100
parents 8806f4cd6fee
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