view src/Grids/Grids.jl @ 1275:dcd8654ca33b refactor/grids

Remove getcomponent stubs since we might have a cleaner way to solve it with map or lazymap
author Jonatan Werpers <jonatan@werpers.com>
date Sun, 26 Feb 2023 11:53:23 +0100
parents 3637daad71e8
children 17d435c08773
line wrap: on
line source

module Grids

using Sbplib.RegionIndices
using Sbplib.LazyTensors
using StaticArrays

# Grid
export Grid
export target_manifold_dim
export dims

export TensorGrid
export ZeroDimGrid

export TensorGridBoundary

export eval_on
export getcomponent

# BoundaryIdentifier
export BoundaryIdentifier


# EquidistantGrid
export EquidistantGrid
export spacing
export inverse_spacing
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