changeset 1940:1bd0e23499da feature/grids/manifolds

Change variable name in boundaries(::CartesianAtlas)
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 07 Feb 2025 13:58:29 +0100
parents 5f6e455df31e
children 1e3089197397
files src/Grids/manifolds.jl
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/Grids/manifolds.jl	Fri Feb 07 13:48:49 2025 +0100
+++ b/src/Grids/manifolds.jl	Fri Feb 07 13:58:29 2025 +0100
@@ -87,7 +87,7 @@
 end
 
 function boundaries(a::CartesianAtlas)
-    c = MultiBlockBoundary[]
+    bs = MultiBlockBoundary[]
 
     for d ∈ 1:ndims(charts(a))
         Is = eachslice(CartesianIndices(charts(a)); dims=d)
@@ -95,14 +95,14 @@
         for (i,b) ∈ ((1,LowerBoundary),(length(Is),UpperBoundary)) # For first and last slice
             for jk ∈ eachindex(Is[i]) # For each block in slice
                 Iᵢⱼₖ = Tuple(Is[i][jk])
-                push!(c,
+                push!(bs,
                     MultiBlockBoundary{Iᵢⱼₖ,   CartesianBoundary{d,b}}(),
                 )
             end
         end
     end
 
-    return c
+    return bs
 end