view src/Grids/Grids.jl @ 1492:d9d9ab18cdfc feature/grids/curvilinear

Merge default
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 01 Dec 2023 11:52:26 +0100
parents af73340a8f0e 1e8fbe55916e
children ae2dbfb984a9
line wrap: on
line source

# TODO: Double check that the interfaces for indexing and iterating are fully implemented and tested for all grids.
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


# CurvilinearGrid
export CurvilinearGrid
export jacobian
export logicalgrid

abstract type BoundaryIdentifier end

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

end # module