Mercurial > repos > public > sbplib_julia
diff src/Grids/tensor_grid.jl @ 1751:f3d7e2d7a43f feature/sbp_operators/laplace_curvilinear
Merge feature/grids/manifolds
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 11 Sep 2024 16:26:19 +0200 |
parents | 863385aae454 |
children | 189e69d44056 871f3f1decea |
line wrap: on
line diff
--- a/src/Grids/tensor_grid.jl Mon Sep 09 09:01:57 2024 +0200 +++ b/src/Grids/tensor_grid.jl Wed Sep 11 16:26:19 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.