view src/Grids/Grids.jl @ 1257:198ccda331a6 refactor/grids

Remove range dim as a type paratmeter on Grid as it is already encoded in T if available
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 23 Feb 2023 11:38:19 +0100
parents 476b889f0ffa
children a4ddae8b5d49
line wrap: on
line source

module Grids

using Sbplib.RegionIndices
using Sbplib.LazyTensors

# Grid
export Grid
export dims
export points

export TensorGrid
export ZeroDimGrid

export eval_on
export getcomponent

# 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
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