changeset 1449:a0b1449dba4e feature/grids/curvilinear

Remove commented code
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 23 Nov 2023 10:14:48 +0100
parents 0322c181a1cd
children 647c8b18b84f
files src/Grids/curvilinear_grid.jl
diffstat 1 files changed, 0 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/src/Grids/curvilinear_grid.jl	Wed Nov 22 17:53:31 2023 +0100
+++ b/src/Grids/curvilinear_grid.jl	Thu Nov 23 10:14:48 2023 +0100
@@ -16,19 +16,7 @@
 Base.firstindex(g::CurvilinearGrid, d) = firstindex(g.logicalgrid, d)
 Base.lastindex(g::CurvilinearGrid, d) = lastindex(g.logicalgrid, d)
 
-# function Base.getindex(g::TensorGrid, I...)
-#     szs = ndims.(g.grids)
 
-#     Is = LazyTensors.split_tuple(I, szs)
-#     ps = map((g,I)->SVector(g[I...]), g.grids, Is)
-
-#     return vcat(ps...)
-# end
-
-# function Base.eachindex(g::TensorGrid)
-#     szs = LazyTensors.concatenate_tuples(size.(g.grids)...)
-#     return CartesianIndices(szs)
-# end
 
 # # Iteration interface
 # Base.iterate(g::TensorGrid) = iterate(Iterators.product(g.grids...)) |> _iterate_combine_coords