@@ -32,7 +32,7 @@ function refine(grid::RectilinearGrid, method::RegularRefinement)
3232 RectilinearGrid {manifold(grid),crs(grid)} (xyzₜ)
3333end
3434
35- function refine (grid:: StructuredGrid , method:: RegularRefinement )
35+ function refine (grid:: OrthoStructuredGrid , method:: RegularRefinement )
3636 factors = fitdims (method. factors, paramdim (grid))
3737 XYZ′ = _XYZ (grid, factors)
3838 StructuredGrid {manifold(grid),crs(grid)} (XYZ′)
@@ -49,9 +49,9 @@ function _refinedims(x, f)
4949 x′
5050end
5151
52- _XYZ (grid:: StructuredGrid , factors:: Dims ) = _XYZ (grid, Val (paramdim (grid)), factors)
52+ _XYZ (grid:: OrthoStructuredGrid , factors:: Dims ) = _XYZ (grid, Val (paramdim (grid)), factors)
5353
54- function _XYZ (grid:: StructuredGrid , :: Val{2} , factors:: Dims{2} )
54+ function _XYZ (grid:: OrthoStructuredGrid , :: Val{2} , factors:: Dims{2} )
5555 T = numtype (lentype (grid))
5656 fᵢ, fⱼ = factors
5757 sᵢ, sⱼ = size (grid)
@@ -77,7 +77,7 @@ function _XYZ(grid::StructuredGrid, ::Val{2}, factors::Dims{2})
7777 (X, Y)
7878end
7979
80- function _XYZ (grid:: StructuredGrid , :: Val{3} , factors:: Dims{3} )
80+ function _XYZ (grid:: OrthoStructuredGrid , :: Val{3} , factors:: Dims{3} )
8181 T = numtype (lentype (grid))
8282 fᵢ, fⱼ, fₖ = factors
8383 sᵢ, sⱼ, sₖ = size (grid)
0 commit comments