Mercurial > repos > public > sbplib_julia
diff test/Grids/mapped_grid_test.jl @ 1586:d4a6f9effcdd feature/grids/manifolds
Remove mapped_grid(::Chart) and add equidistant_grid(::Chart)
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 26 Apr 2024 22:49:01 +0200 |
parents | f77c5309dd2b |
children | 6d196fb85133 |
line wrap: on
line diff
--- a/test/Grids/mapped_grid_test.jl Fri Apr 26 22:19:30 2024 +0200 +++ b/test/Grids/mapped_grid_test.jl Fri Apr 26 22:49:01 2024 +0200 @@ -183,15 +183,4 @@ lg = equidistant_grid((0,0), (1,1), 10, 11) @test logicalgrid(mg) == lg @test collect(mg) == map(x̄, lg) - - - @testset "mapped_grid(::Chart)" begin - c = Chart(unitsquare()) do (ξ,η) - @SVector[2ξ, 3η] - end - Grids.jacobian(c::typeof(c), ξ̄) = @SMatrix[2 0; 0 3] - - @test mapped_grid(c, 5, 4) isa Grid - end - end