diff src/Grids/mapped_grid.jl @ 1736:863385aae454 feature/grids/curvilinear

Merge default
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 10 Sep 2024 21:59:10 +0200
parents 11640aa3e348
children 248304f88e49
line wrap: on
line diff
--- a/src/Grids/mapped_grid.jl	Tue Sep 10 21:35:55 2024 +0200
+++ b/src/Grids/mapped_grid.jl	Tue Sep 10 21:59:10 2024 +0200
@@ -140,11 +140,11 @@
 end
 
 function _boundary_sign(T, boundary)
-    if boundary_id(boundary) == Upper()
+    if boundary_id(boundary) == UpperBoundary()
         return one(T)
-    elseif boundary_id(boundary) == Lower()
+    elseif boundary_id(boundary) == LowerBoundary()
         return -one(T)
     else
-        throw(ArgumentError("The boundary identifier must be either `Lower()` or `Upper()`"))
+        throw(ArgumentError("The boundary identifier must be either `LowerBoundary()` or `UpperBoundary()`"))
     end
 end