Mercurial > repos > public > sbplib_julia
comparison src/Grids/Grids.jl @ 1266:a4ddae8b5d49 refactor/grids
Add tests for TensorGrid and make them pass
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Fri, 24 Feb 2023 21:42:28 +0100 |
| parents | 476b889f0ffa |
| children | 5977d7628d55 |
comparison
equal
deleted
inserted
replaced
| 1265:9c9ea2900250 | 1266:a4ddae8b5d49 |
|---|---|
| 1 module Grids | 1 module Grids |
| 2 | 2 |
| 3 using Sbplib.RegionIndices | 3 using Sbplib.RegionIndices |
| 4 using Sbplib.LazyTensors | 4 using Sbplib.LazyTensors |
| 5 using StaticArrays | |
| 5 | 6 |
| 6 # Grid | 7 # Grid |
| 7 export Grid | 8 export Grid |
| 8 export dims | 9 export dims |
| 9 export points | 10 export points |
| 10 | 11 |
| 11 export TensorGrid | 12 export TensorGrid |
| 12 export ZeroDimGrid | 13 export ZeroDimGrid |
| 13 | 14 |
| 15 export TensorGridBoundary | |
| 16 | |
| 14 export eval_on | 17 export eval_on |
| 15 export getcomponent | 18 export getcomponent |
| 16 | 19 |
| 17 # BoundaryIdentifier | 20 # BoundaryIdentifier |
| 18 export BoundaryIdentifier | 21 export BoundaryIdentifier |
| 19 export CartesianBoundary | 22 |
| 20 export dim | |
| 21 export region | |
| 22 | 23 |
| 23 # EquidistantGrid | 24 # EquidistantGrid |
| 24 export EquidistantGrid | 25 export EquidistantGrid |
| 25 export spacing | 26 export spacing |
| 26 export inverse_spacing | 27 export inverse_spacing |
