Mercurial > repos > public > sbplib_julia
diff src/Grids/tensor_grid.jl @ 1748:03894fd7b132 feature/grids/manifolds
Merge feature/grids/curvilinear
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 11 Sep 2024 15:41:58 +0200 |
parents | 863385aae454 |
children | 189e69d44056 871f3f1decea |
line wrap: on
line diff
--- a/src/Grids/tensor_grid.jl Wed Aug 28 10:35:08 2024 +0200 +++ b/src/Grids/tensor_grid.jl Wed Sep 11 15:41:58 2024 +0200 @@ -1,5 +1,3 @@ -# TODO: Check this file and other grids for duplicate implementation of general methods implemented for Grid - """ TensorGrid{T,D} <: Grid{T,D} @@ -119,7 +117,7 @@ end """ - grid_and_local_dim_index(nds, d) + grid_and_local_dim_index(nds, d) Given a tuple of number of dimensions `nds`, and a global dimension index `d`, calculate which grid index, and local dimension, `d` corresponds to.