comparison test/SbpOperators/volumeops/volume_operator_test.jl @ 1360:f59228534d3a tooling/benchmarks

Merge default
author Jonatan Werpers <jonatan@werpers.com>
date Sat, 20 May 2023 15:15:22 +0200
parents 356ec6a72974
children 43aaf710463e
comparison
equal deleted inserted replaced
1321:42738616422e 1360:f59228534d3a
12 12
13 13
14 @testset "VolumeOperator" begin 14 @testset "VolumeOperator" begin
15 inner_stencil = CenteredStencil(1/4, 2/4, 1/4) 15 inner_stencil = CenteredStencil(1/4, 2/4, 1/4)
16 closure_stencils = (Stencil(1/2, 1/2; center=1), Stencil(2.,1.; center=2)) 16 closure_stencils = (Stencil(1/2, 1/2; center=1), Stencil(2.,1.; center=2))
17 g = EquidistantGrid(11,0.,1.) 17 g = equidistant_grid(11,0.,1.)
18 18
19 @testset "Constructors" begin 19 @testset "Constructors" begin
20 op = VolumeOperator(inner_stencil,closure_stencils,(11,),even) 20 op = VolumeOperator(inner_stencil,closure_stencils,(11,),even)
21 @test op == VolumeOperator(g,inner_stencil,closure_stencils,even) 21 @test op == VolumeOperator(g,inner_stencil,closure_stencils,even)
22 @test op isa LazyTensor{T,1,1} where T 22 @test op isa LazyTensor{T,1,1} where T