comparison test/SbpOperators/volumeops/volume_operator_test.jl @ 1105:0ba4609605d4 refactor/sbpoperators/inflation

REVIEW: Suggest changes to tests
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Fri, 20 May 2022 11:31:20 +0200
parents 05a25a5063bb
children 69c635e1d346
comparison
equal deleted inserted replaced
1104:c0ab81e4c39c 1105:0ba4609605d4
7 7
8 import Sbplib.SbpOperators.Stencil 8 import Sbplib.SbpOperators.Stencil
9 import Sbplib.SbpOperators.VolumeOperator 9 import Sbplib.SbpOperators.VolumeOperator
10 import Sbplib.SbpOperators.odd 10 import Sbplib.SbpOperators.odd
11 import Sbplib.SbpOperators.even 11 import Sbplib.SbpOperators.even
12
13 # REVIEW: Remove the commented tests for 2D (it is tested in the user code), but
14 # change testset Regions and testset Inferred, to test the 1D operators.
12 15
13 @testset "VolumeOperator" begin 16 @testset "VolumeOperator" begin
14 inner_stencil = CenteredStencil(1/4, 2/4, 1/4) 17 inner_stencil = CenteredStencil(1/4, 2/4, 1/4)
15 closure_stencils = (Stencil(1/2, 1/2; center=1), Stencil(0.,1.; center=2)) 18 closure_stencils = (Stencil(1/2, 1/2; center=1), Stencil(0.,1.; center=2))
16 g_1D = EquidistantGrid(11,0.,1.) 19 g_1D = EquidistantGrid(11,0.,1.)