comparison test/SbpOperators/stencil_test.jl @ 1748:03894fd7b132 feature/grids/manifolds

Merge feature/grids/curvilinear
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 11 Sep 2024 15:41:58 +0200
parents 471a948cd2b2
children
comparison
equal deleted inserted replaced
1695:a4c52ae93b11 1748:03894fd7b132
1 using Test 1 using Test
2 using Sbplib.SbpOperators 2 using Diffinitive.SbpOperators
3 using StaticArrays 3 using StaticArrays
4 import Sbplib.SbpOperators.Stencil 4 import Diffinitive.SbpOperators.Stencil
5 import Sbplib.SbpOperators.NestedStencil 5 import Diffinitive.SbpOperators.NestedStencil
6 import Sbplib.SbpOperators.scale 6 import Diffinitive.SbpOperators.scale
7 import Sbplib.SbpOperators: apply_stencil, apply_stencil_backwards 7 import Diffinitive.SbpOperators: apply_stencil, apply_stencil_backwards
8 8
9 @testset "Stencil" begin 9 @testset "Stencil" begin
10 s = Stencil(-2:2, (1.,2.,2.,3.,4.)) 10 s = Stencil(-2:2, (1.,2.,2.,3.,4.))
11 @test s isa Stencil{Float64, 5} 11 @test s isa Stencil{Float64, 5}
12 12