Mercurial > repos > public > sbplib_julia
comparison src/Grids/Grids.jl @ 1672:3714a391545a refactor/grids/boundary_identifiers_1d
Make the boundary identifiers for EquidistantGrid subtype BoundaryIdentifer
| author | Vidar Stiernström <vidar.stiernstrom@gmail.com> |
|---|---|
| date | Sun, 07 Jul 2024 15:15:12 -0700 |
| parents | 5f348cc5598e |
| children | 471a948cd2b2 |
comparison
equal
deleted
inserted
replaced
| 1671:791d0f3f289a | 1672:3714a391545a |
|---|---|
| 1 module Grids | 1 module Grids |
| 2 | 2 |
| 3 using Sbplib.RegionIndices | |
| 4 using Sbplib.LazyTensors | 3 using Sbplib.LazyTensors |
| 5 using StaticArrays | 4 using StaticArrays |
| 6 | 5 |
| 7 # Grid | 6 # Grid |
| 8 export Grid | 7 export Grid |
| 21 export ArrayComponentView | 20 export ArrayComponentView |
| 22 | 21 |
| 23 export BoundaryIdentifier | 22 export BoundaryIdentifier |
| 24 export TensorGridBoundary | 23 export TensorGridBoundary |
| 25 export CartesianBoundary | 24 export CartesianBoundary |
| 25 export LowerBoundary | |
| 26 export UpperBoundary | |
| 26 | 27 |
| 27 export TensorGrid | 28 export TensorGrid |
| 28 export ZeroDimGrid | 29 export ZeroDimGrid |
| 29 | 30 |
| 30 export EquidistantGrid | 31 export EquidistantGrid |
| 31 export inverse_spacing | 32 export inverse_spacing |
| 32 export spacing | 33 export spacing |
| 33 export equidistant_grid | 34 export equidistant_grid |
| 34 | 35 |
| 35 | |
| 36 abstract type BoundaryIdentifier end | |
| 37 | |
| 38 include("grid.jl") | 36 include("grid.jl") |
| 39 include("tensor_grid.jl") | 37 include("tensor_grid.jl") |
| 40 include("equidistant_grid.jl") | 38 include("equidistant_grid.jl") |
| 41 include("zero_dim_grid.jl") | 39 include("zero_dim_grid.jl") |
| 42 | 40 |
