Mercurial > repos > public > sbplib_julia
diff src/Grids/curvilinear_grid.jl @ 1501:553111a15506 feature/grids/curvilinear
Add some TBDs and TODOs
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 16 Feb 2024 10:28:02 +0100 |
parents | 64b58740e029 |
children | a2dc80396808 |
line wrap: on
line diff
--- a/src/Grids/curvilinear_grid.jl Fri Dec 01 15:01:44 2023 +0100 +++ b/src/Grids/curvilinear_grid.jl Fri Feb 16 10:28:02 2024 +0100 @@ -2,7 +2,7 @@ struct CurvilinearGrid{T,D, GT<:Grid{<:Any,D}, CT<:AbstractArray{T,D}, JT<:AbstractArray{<:AbstractArray{<:Any, 2}, D}} <: Grid{T,D} logicalgrid::GT physicalcoordinates::CT - jacobian::JT + jacobian::JT # TBD: currectly ∂xᵢ/∂ξⱼ. Is this the correct index order? end jacobian(g::CurvilinearGrid) = g.jacobian @@ -38,8 +38,6 @@ ) end - - # Do we add a convenience function `curvilinear_grid`? It could help with # creating the logical grid, evaluating functions and possibly calculating the # entries in the jacobian.