Mercurial > repos > public > sbplib_julia
comparison test/SbpOperators/volumeops/derivatives/second_derivative_test.jl @ 1888:eb70a0941cd6 allocation_testing
Merge default
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 03 Feb 2023 23:02:46 +0100 |
parents | c94a12327737 |
children | 7d52c4835d15 |
comparison
equal
deleted
inserted
replaced
1887:24590890e124 | 1888:eb70a0941cd6 |
---|---|
3 using Sbplib.SbpOperators | 3 using Sbplib.SbpOperators |
4 using Sbplib.Grids | 4 using Sbplib.Grids |
5 using Sbplib.LazyTensors | 5 using Sbplib.LazyTensors |
6 | 6 |
7 import Sbplib.SbpOperators.VolumeOperator | 7 import Sbplib.SbpOperators.VolumeOperator |
8 | |
9 # TODO: Refactor these test to look more like the tests in first_derivative_test.jl. | |
8 | 10 |
9 @testset "SecondDerivative" begin | 11 @testset "SecondDerivative" begin |
10 operator_path = sbp_operators_path()*"standard_diagonal.toml" | 12 operator_path = sbp_operators_path()*"standard_diagonal.toml" |
11 stencil_set = read_stencil_set(operator_path; order=4) | 13 stencil_set = read_stencil_set(operator_path; order=4) |
12 inner_stencil = parse_stencil(stencil_set["D2"]["inner_stencil"]) | 14 inner_stencil = parse_stencil(stencil_set["D2"]["inner_stencil"]) |