view src/Grids/Grids.jl @ 1289:3b7ebd135918 refactor/grids

Remove _component_type and replace with eltype
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 03 Mar 2023 15:44:39 +0100
parents 7de1df0aad6a
children 0713175a5743
line wrap: on
line source

module Grids

using Sbplib.RegionIndices
using Sbplib.LazyTensors
using StaticArrays

# Grid
export Grid
export target_manifold_dim
export component_type
export dims

export TensorGrid
export ZeroDimGrid

export TensorGridBoundary

export grid_id
export boundary_id

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
export CartesianBoundary

abstract type BoundaryIdentifier end

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


end # module