Mercurial > repos > public > sbplib_julia
comparison test/SbpOperators/volumeops/volume_operator_test.jl @ 1954:b0915f43b122 feature/sbp_operators/laplace_curvilinear
Merge feature/grids/geometry_functions
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Sat, 08 Feb 2025 09:38:58 +0100 |
parents | 0656b46a1a74 |
children |
comparison
equal
deleted
inserted
replaced
1953:835b1dcee38e | 1954:b0915f43b122 |
---|---|
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 = equidistant_grid(0.,1., 11) | 17 g = equidistant_grid(0.,1., 11) |
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 |
23 end | 23 end |
24 | 24 |
25 @testset "Sizes" begin | 25 @testset "Sizes" begin |