changeset 1126:832ac87a54a3 feature/grids

Remove boundary_size
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Wed, 05 Oct 2022 21:25:12 +0200
parents b9c6b0d8f0fa
children 5490d0a38007
files src/Grids/equidistant_grid.jl
diffstat 1 files changed, 0 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/src/Grids/equidistant_grid.jl	Wed Oct 05 21:24:13 2022 +0200
+++ b/src/Grids/equidistant_grid.jl	Wed Oct 05 21:25:12 2022 +0200
@@ -158,18 +158,6 @@
 
 
 """
-    boundary_size(grid::EquidistantGrid, id::CartesianBoundary)
-
-Returns the size of the boundary of `grid` specified by `id`.
-"""
-function boundary_size(grid::EquidistantGrid, id::CartesianBoundary)
-	orth_dims = orthogonal_dims(grid, dim(id))
-    return  grid.size[orth_dims]
-end
-boundary_size(::EquidistantGrid{1,T},::CartesianBoundary{1}) where T = ()
-
-
-"""
     refine(grid::EquidistantGrid, r::Int)
 
 Refines `grid` by a factor `r`. The factor is applied to the number of