view src/Grids/Grids.jl @ 1519:b48a032505f4 refactor/component_type

Close before merge
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 22 Mar 2024 08:47:16 +0100
parents 1e8fbe55916e
children 276c38a48aac d9d9ab18cdfc
line wrap: on
line source

module Grids

using Sbplib.RegionIndices
using Sbplib.LazyTensors
using StaticArrays

# Grid
export Grid
export coordinate_size
export component_type
export grid_id
export boundary_id
export boundary_indices
export boundary_identifiers
export boundary_grid
export eval_on
export coarsen
export getcomponent
export refine

export BoundaryIdentifier
export TensorGridBoundary
export CartesianBoundary

export TensorGrid
export ZeroDimGrid

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