Mercurial > repos > public > sbplib_julia
comparison test/SbpOperators/boundaryops/normal_derivative_test.jl @ 2054:c08bc343d1cd feature/sbp_operators/laplace_curvilinear
Merge feature/grids/geometry_functions
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Sat, 07 Feb 2026 22:54:36 +0100 |
| parents | f3d7e2d7a43f 0e93fc7fb2e2 |
| children |
comparison
equal
deleted
inserted
replaced
| 2052:a590dc4af7ea | 2054:c08bc343d1cd |
|---|---|
| 57 @test d_w*v ≈ -v∂x[1,:] atol = 1e-13 | 57 @test d_w*v ≈ -v∂x[1,:] atol = 1e-13 |
| 58 @test d_e*v ≈ v∂x[end,:] atol = 1e-13 | 58 @test d_e*v ≈ v∂x[end,:] atol = 1e-13 |
| 59 @test d_s*v ≈ -v∂y[:,1] atol = 1e-13 | 59 @test d_s*v ≈ -v∂y[:,1] atol = 1e-13 |
| 60 @test d_n*v ≈ v∂y[:,end] atol = 1e-13 | 60 @test d_n*v ≈ v∂y[:,end] atol = 1e-13 |
| 61 end | 61 end |
| 62 end | |
| 63 | |
| 64 @testset "0D" begin | |
| 65 g = ZeroDimGrid(1) | |
| 66 @test_throws ArgumentError("ZeroDimGrid has no boundaries") normal_derivative(g, stencil_set, ()) | |
| 62 end | 67 end |
| 63 end | 68 end |
| 64 | 69 |
| 65 @testset "MappedGrid" begin | 70 @testset "MappedGrid" begin |
| 66 c = Chart(unitsquare()) do (ξ,η) | 71 c = Chart(unitsquare()) do (ξ,η) |
