Mercurial > repos > public > sbplib_julia
comparison test/Grids/mapped_grid_test.jl @ 1706:11640aa3e348 feature/grids/curvilinear
Add method and refactor mapped_grid()
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Wed, 04 Sep 2024 15:43:39 +0200 |
| parents | 4870fc3faa25 |
| children | 519a8cb1439e |
comparison
equal
deleted
inserted
replaced
| 1705:4870fc3faa25 | 1706:11640aa3e348 |
|---|---|
| 220 | 220 |
| 221 lg = equidistant_grid((0,0), (1,1), 10, 11) | 221 lg = equidistant_grid((0,0), (1,1), 10, 11) |
| 222 @test logicalgrid(mg) == lg | 222 @test logicalgrid(mg) == lg |
| 223 @test collect(mg) == map(x̄, lg) | 223 @test collect(mg) == map(x̄, lg) |
| 224 | 224 |
| 225 @test_broken mapped_grid(lg, x̄, J) == mg | 225 @test mapped_grid(lg, x̄, J) == mg |
| 226 end | 226 end |
| 227 | 227 |
| 228 @testset "jacobian_determinant" begin | 228 @testset "jacobian_determinant" begin |
| 229 @test_broken false | 229 @test_broken false |
| 230 end | 230 end |
