changeset 646:27b4bcb22154 feature/volume_and_boundary_operators

Remove outcommented obsolete code.
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Mon, 04 Jan 2021 18:34:38 +0100
parents c5ccab5cf164
children f13d45c10f55
files test/testSbpOperators.jl
diffstat 1 files changed, 0 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/test/testSbpOperators.jl	Mon Jan 04 18:28:52 2021 +0100
+++ b/test/testSbpOperators.jl	Mon Jan 04 18:34:38 2021 +0100
@@ -114,27 +114,6 @@
     end
 end
 
-# @testset "apply_quadrature" begin
-#     op = read_D2_operator(sbp_operators_path()*"standard_diagonal.toml"; order=4)
-#     h = 0.5
-#
-#     @test apply_quadrature(op, h, 1.0, 10, 100) == h
-#
-#     N = 10
-#     qc = op.quadratureClosure
-#     q = h.*(qc..., ones(N-2*closuresize(op))..., reverse(qc)...)
-#     @assert length(q) == N
-#
-#     for i ∈ 1:N
-#         @test apply_quadrature(op, h, 1.0, i, N) == q[i]
-#     end
-#
-#     v = [2.,3.,2.,4.,5.,4.,3.,4.,5.,4.5]
-#     for i ∈ 1:N
-#         @test apply_quadrature(op, h, v[i], i, N) == q[i]*v[i]
-#     end
-# end
-
 @testset "VolumeOperator" begin
     inner_stencil = Stencil(1/4 .* (1.,2.,1.),center=2)
     closure_stencils = (Stencil(1/2 .* (1.,1.),center=1),Stencil((0.,1.),center=2))