Mercurial > repos > public > sbplib_julia
comparison test/SbpOperators/boundaryops/boundary_operator_test.jl @ 1044:f857057e61e6 refactor/sbpoperators/inflation
Merge default
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 22 Mar 2022 22:05:34 +0100 |
parents | 6abbb2c6c3e4 |
children | 3bb94ce74697 a76830879c63 |
comparison
equal
deleted
inserted
replaced
1024:5be17f647018 | 1044:f857057e61e6 |
---|---|
26 @test op_r isa LazyTensor{T,0,1} where T | 26 @test op_r isa LazyTensor{T,0,1} where T |
27 end | 27 end |
28 | 28 |
29 @testset "2D" begin | 29 @testset "2D" begin |
30 e_w = boundary_operator(g_2D,closure_stencil,CartesianBoundary{1,Upper}()) | 30 e_w = boundary_operator(g_2D,closure_stencil,CartesianBoundary{1,Upper}()) |
31 @test e_w isa InflatedLazyTensor | 31 @test e_w isa InflatedTensor |
32 @test e_w isa LazyTensor{T,1,2} where T | 32 @test e_w isa LazyTensor{T,1,2} where T |
33 end | 33 end |
34 end | 34 end |
35 op_l, op_r = boundary_operator.(Ref(g_1D), Ref(closure_stencil), boundary_identifiers(g_1D)) | 35 op_l, op_r = boundary_operator.(Ref(g_1D), Ref(closure_stencil), boundary_identifiers(g_1D)) |
36 op_w, op_e, op_s, op_n = boundary_operator.(Ref(g_2D), Ref(closure_stencil), boundary_identifiers(g_2D)) | 36 op_w, op_e, op_s, op_n = boundary_operator.(Ref(g_2D), Ref(closure_stencil), boundary_identifiers(g_2D)) |