Mercurial > repos > public > sbplib_julia
changeset 1505:63101a1cd0e6 feature/grids/curvilinear
Remove some comments
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 16 Feb 2024 14:33:13 +0100 |
parents | 976f5784d7b9 |
children | 535f32316637 |
files | src/Grids/curvilinear_grid.jl |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/Grids/curvilinear_grid.jl Fri Feb 16 14:31:45 2024 +0100 +++ b/src/Grids/curvilinear_grid.jl Fri Feb 16 14:33:13 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 # TBD: currectly ∂xᵢ/∂ξⱼ. Is this the correct index order? + jacobian::JT end jacobian(g::CurvilinearGrid) = g.jacobian @@ -49,10 +49,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. - function curvilinear_grid(x, J, size...) D = length(size) lg = equidistant_grid(size, ntuple(i->0., D), ntuple(i->1., D))