comparison test/SbpOperators/boundaryops/boundary_operator_test.jl @ 1017:6abbb2c6c3e4 refactor/lazy_tensors

Remove the Lazy prefix on some types
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 21 Mar 2022 15:22:22 +0100
parents 1ba8a398af9c
children 3bb94ce74697 a76830879c63
comparison
equal deleted inserted replaced
1016:5c8c148c56a3 1017:6abbb2c6c3e4
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))