diff test/SbpOperators/volumeops/laplace/laplace_test.jl @ 990:b6238afd3bb0 feature/stencil_set_type

Add methods for creating derivative operators in 1D from stencil sets without providing directions
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Fri, 18 Mar 2022 13:02:46 +0100
parents 7bf3121c6864
children 5ec49dd2c7c4
line wrap: on
line diff
--- a/test/SbpOperators/volumeops/laplace/laplace_test.jl	Thu Mar 17 21:31:20 2022 +0100
+++ b/test/SbpOperators/volumeops/laplace/laplace_test.jl	Fri Mar 18 13:02:46 2022 +0100
@@ -69,7 +69,7 @@
 @testset "laplace" begin
     @testset "1D" begin
         Δ = laplace(g_1D, inner_stencil, closure_stencils)
-        @test Δ == second_derivative(g_1D, inner_stencil, closure_stencils)
+        @test Δ == second_derivative(g_1D, inner_stencil, closure_stencils, 1)
         @test Δ isa TensorMapping{T,1,1}  where T
     end
     @testset "3D" begin