diff src/Grids/equidistant_grid.jl @ 1584:d7483e8af705 feature/sbp_operators/laplace_curvilinear

Merge feature/grids/manifolds
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 26 Apr 2024 08:45:54 +0200
parents b9c7bab94241
children d4a6f9effcdd
line wrap: on
line diff
--- a/src/Grids/equidistant_grid.jl	Thu Apr 25 10:20:43 2024 +0200
+++ b/src/Grids/equidistant_grid.jl	Fri Apr 26 08:45:54 2024 +0200
@@ -127,6 +127,10 @@
 	return EquidistantGrid(range(limit_lower, limit_upper, length=size)) # TBD: Should it use LinRange instead?
 end
 
+
+equidistant_grid(hb::HyperBox, dims::Vararg{Int}) = equidistant_grid(hb.a, hb.b, dims...)
+
+
 CartesianBoundary{D,BID} = TensorGridBoundary{D,BID} # TBD: What should we do about the naming of this boundary?