view src/Grids/Grids.jl @ 1434:af73340a8f0e feature/grids/curvilinear

Add todos
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 07 Sep 2023 09:03:07 +0200
parents 6adf31ba6cfd
children d9d9ab18cdfc
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 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


# 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