Mercurial > repos > public > sbplib_julia
diff src/Grids/mapped_grid.jl @ 1587:aef3827ef522 feature/sbp_operators/laplace_curvilinear
Merge feature/grids/manifolds
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 26 Apr 2024 22:49:36 +0200 |
parents | d4a6f9effcdd |
children | 8250cf5a3ce9 |
line wrap: on
line diff
--- a/src/Grids/mapped_grid.jl Fri Apr 26 08:53:32 2024 +0200 +++ b/src/Grids/mapped_grid.jl Fri Apr 26 22:49:36 2024 +0200 @@ -61,14 +61,6 @@ ) end -function mapped_grid(c::Chart, size...) - lg = equidistant_grid(parameterspace(c), size...) - return MappedGrid( - lg, - map(c,lg), - map(ξ->jacobian(c, ξ), lg), - ) -end function jacobian_determinant(g::MappedGrid) return map(jacobian(g)) do ∂x∂ξ