Mercurial > repos > public > sbplib_julia
comparison test/SbpOperators/boundaryops/boundary_restriction_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 5fb64e42138c |
| children |
comparison
equal
deleted
inserted
replaced
| 2052:a590dc4af7ea | 2054:c08bc343d1cd |
|---|---|
| 29 | 29 |
| 30 @testset "2D" begin | 30 @testset "2D" begin |
| 31 e_w = boundary_restriction(g_2D,stencil_set,CartesianBoundary{1,UpperBoundary}()) | 31 e_w = boundary_restriction(g_2D,stencil_set,CartesianBoundary{1,UpperBoundary}()) |
| 32 @test e_w isa InflatedTensor | 32 @test e_w isa InflatedTensor |
| 33 @test e_w isa LazyTensor{T,1,2} where T | 33 @test e_w isa LazyTensor{T,1,2} where T |
| 34 end | |
| 35 | |
| 36 @testset "0D" begin | |
| 37 g = ZeroDimGrid(1) | |
| 38 @test_throws ArgumentError("ZeroDimGrid has no boundaries") boundary_restriction(g, stencil_set, ()) | |
| 34 end | 39 end |
| 35 end | 40 end |
| 36 | 41 |
| 37 @testset "Application" begin | 42 @testset "Application" begin |
| 38 @testset "EquidistantGrid" begin | 43 @testset "EquidistantGrid" begin |
