Mercurial > repos > public > sbplib_julia
diff src/Grids/mapped_grid.jl @ 1745:2f7974367cd3 feature/grids/curvilinear
Add TBD
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 11 Sep 2024 14:11:11 +0200 |
parents | c38eead8be17 |
children | 44faa334adc6 |
line wrap: on
line diff
--- a/src/Grids/mapped_grid.jl Wed Sep 11 14:11:03 2024 +0200 +++ b/src/Grids/mapped_grid.jl Wed Sep 11 14:11:11 2024 +0200 @@ -94,6 +94,7 @@ # TBD: Should this be changed to calculate sqrt(g) instead? # This would make it well defined also for n-dim grids embedded in higher dimensions. # TBD: Is there a better name? metric_determinant? +# TBD: Is the best option to delete it? function metric_tensor(g::MappedGrid) return map(jacobian(g)) do ∂x∂ξ