view src/Grids/Grids.jl @ 1902:f93ba5832146 feature/grids/parameter_spaces

Copy changes related to ParameterSpace from feature/grids/manifolds
author Jonatan Werpers <jonatan@werpers.com>
date Sat, 01 Feb 2025 22:12:53 +0100
parents a6deaf70862b
children 04c251bccbd4 b0fcb29e3620
line wrap: on
line source

module Grids

using Diffinitive.LazyTensors
using StaticArrays
using LinearAlgebra

export ParameterSpace
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 verticies
export unittriangle
export unittetrahedron
export unitsimplex

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

export BoundaryIdentifier
export TensorGridBoundary
export CartesianBoundary
export LowerBoundary
export UpperBoundary

export TensorGrid
export ZeroDimGrid

export EquidistantGrid
export inverse_spacing
export spacing
export equidistant_grid


# MappedGrid
export MappedGrid
export jacobian
export logical_grid
export mapped_grid
export metric_tensor

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

end # module