diff test/testSbpOperators.jl @ 612:1db945cba3a2 feature/volume_and_boundary_operators

Remove extra argument to volume_operator in SecondDerivative()
author Jonatan Werpers <jonatan@werpers.com>
date Sat, 05 Dec 2020 20:46:49 +0100
parents e40e7439d1b4
children f59e1732eacc
line wrap: on
line diff
--- a/test/testSbpOperators.jl	Sat Dec 05 19:14:39 2020 +0100
+++ b/test/testSbpOperators.jl	Sat Dec 05 20:46:49 2020 +0100
@@ -107,10 +107,10 @@
     # implies that L*v should be exact for v - monomial up to order 3.
     # Exact differentiation is measured point-wise. For other grid functions
     # the error is measured in the H-norm.
-    @test norm(L*v0) ≈ 0 atol=5e-10
-    @test norm(L*v1) ≈ 0 atol=5e-10
+    @test norm(L*v0) ≈ 0 atol=1e-9
+    @test norm(L*v1) ≈ 0 atol=1e-9
     @test L*v2 ≈ v0 # Seems to be more accurate
-    @test L*v3 ≈ v1 atol=5e-10
+    @test L*v3 ≈ v1 atol=1e-9
 
     h = spacing(g)
     l2(v) = sqrt(prod(h)*sum(v.^2))