Mercurial > repos > public > sbplib_julia
comparison test/SbpOperators/boundaryops/boundary_restriction_test.jl @ 1018:5ec49dd2c7c4 feature/stencil_set_type
Reintroduce read_stencil_set
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Tue, 22 Mar 2022 09:57:28 +0100 |
parents | 7bf3121c6864 |
children | 7fc8df5157a7 |
comparison
equal
deleted
inserted
replaced
991:37fd8c1cadb2 | 1018:5ec49dd2c7c4 |
---|---|
5 using Sbplib.LazyTensors | 5 using Sbplib.LazyTensors |
6 using Sbplib.RegionIndices | 6 using Sbplib.RegionIndices |
7 using Sbplib.SbpOperators: BoundaryOperator, Stencil | 7 using Sbplib.SbpOperators: BoundaryOperator, Stencil |
8 | 8 |
9 @testset "boundary_restriction" begin | 9 @testset "boundary_restriction" begin |
10 stencil_set = StencilSet(sbp_operators_path()*"standard_diagonal.toml"; order = 4) | 10 stencil_set = read_stencil_set(sbp_operators_path()*"standard_diagonal.toml"; order = 4) |
11 e_closure = parse_stencil(stencil_set["e"]["closure"]) | 11 e_closure = parse_stencil(stencil_set["e"]["closure"]) |
12 g_1D = EquidistantGrid(11, 0.0, 1.0) | 12 g_1D = EquidistantGrid(11, 0.0, 1.0) |
13 g_2D = EquidistantGrid((11,15), (0.0, 0.0), (1.0,1.0)) | 13 g_2D = EquidistantGrid((11,15), (0.0, 0.0), (1.0,1.0)) |
14 | 14 |
15 @testset "boundary_restriction" begin | 15 @testset "boundary_restriction" begin |