diff test/SbpOperators/volumeops/laplace/laplace_test.jl @ 1025:e74c41c4b60e feature/dissipation_operators

Merge refactor/sbpoperators/inflation
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 21 Mar 2022 15:12:59 +0100
parents 1ba8a398af9c
children 7fc8df5157a7
line wrap: on
line diff
--- a/test/SbpOperators/volumeops/laplace/laplace_test.jl	Fri Mar 18 15:44:03 2022 +0100
+++ b/test/SbpOperators/volumeops/laplace/laplace_test.jl	Mon Mar 21 15:12:59 2022 +0100
@@ -17,12 +17,12 @@
         @testset "1D" begin
             Δ = laplace(g_1D, inner_stencil, closure_stencils)
             @test Laplace(g_1D, stencil_set) == Laplace(Δ, stencil_set)
-            @test Laplace(g_1D, stencil_set) isa TensorMapping{T,1,1}  where T
+            @test Laplace(g_1D, stencil_set) isa LazyTensor{T,1,1}  where T
         end
         @testset "3D" begin
             Δ = laplace(g_3D, inner_stencil, closure_stencils)
             @test Laplace(g_3D, stencil_set) == Laplace(Δ,stencil_set)
-            @test Laplace(g_3D, stencil_set) isa TensorMapping{T,3,3} where T
+            @test Laplace(g_3D, stencil_set) isa LazyTensor{T,3,3} where T
         end
     end
 
@@ -70,16 +70,16 @@
     @testset "1D" begin
         Δ = laplace(g_1D, inner_stencil, closure_stencils)
         @test Δ == second_derivative(g_1D, inner_stencil, closure_stencils)
-        @test Δ isa TensorMapping{T,1,1}  where T
+        @test Δ isa LazyTensor{T,1,1}  where T
     end
     @testset "3D" begin
         Δ = laplace(g_3D, inner_stencil, closure_stencils)
-        @test Δ isa TensorMapping{T,3,3} where T
+        @test Δ isa LazyTensor{T,3,3} where T
         Dxx = second_derivative(g_3D, inner_stencil, closure_stencils, 1)
         Dyy = second_derivative(g_3D, inner_stencil, closure_stencils, 2)
         Dzz = second_derivative(g_3D, inner_stencil, closure_stencils, 3)
         @test Δ == Dxx + Dyy + Dzz
-        @test Δ isa TensorMapping{T,3,3} where T
+        @test Δ isa LazyTensor{T,3,3} where T
     end
 end