diff src/Grids/tensor_grid.jl @ 1429:e87f3465b770 feature/grids/curvilinear

Merge default
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 25 Aug 2023 08:57:27 +0200
parents e82240df974d
children 48e16efaac7a 25af92b4a7ea af73340a8f0e e3a80ef08d09
line wrap: on
line diff
--- a/src/Grids/tensor_grid.jl	Thu Aug 24 08:50:10 2023 +0200
+++ b/src/Grids/tensor_grid.jl	Fri Aug 25 08:57:27 2023 +0200
@@ -112,7 +112,7 @@
 ```julia
 gi, ldi = grid_and_local_dim_index(ndims.(g.grids), d)
 ```
-tells you which grid it belongs to (`gi`) and wich index it is at within that
+tells you which grid it belongs to (`gi`) and which index it is at within that
 grid (`ldi`).
 """
 function grid_and_local_dim_index(nds, d)
@@ -123,5 +123,4 @@
     else
         return (I, d-cumsum(nds)[I-1])
     end
-    # TBD: Is there a cleaner way to compute this?
 end