view src/Grids/Grids.jl @ 1564:35fe4375b35f feature/grids/manifolds

Export things and fix ConcreteChart and Simplex
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 25 Apr 2024 13:17:48 +0200
parents 81e97d3bec8c
children b9c7bab94241
line wrap: on
line source

module Grids

using Sbplib.RegionIndices
using Sbplib.LazyTensors
using StaticArrays


export HyperBox
export Simplex
export Interval
export Rectangle
export Box
export Triangle
export Tetrahedron

export limits
export unitinterval
export unitsquare
export unitcube
export unithyperbox

export Chart
export ConcreteChart

# 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 coarsen
export refine
export eval_on
export componentview
export ArrayComponentView

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("manifolds.jl")
include("grid.jl")
include("tensor_grid.jl")
include("equidistant_grid.jl")
include("zero_dim_grid.jl")

end # module