Mercurial > repos > public > sbplib_julia
diff test/SbpOperators/boundaryops/normal_derivative_test.jl @ 1529:43aaf710463e refactor/equidistant_grid/signature
Change to signature of equidistant_grid to same style as many array methods.
See for example Array{T}(undef, dims...), zeros(T, dims...), fill(a, dims...) and more.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 11 Apr 2024 22:31:04 +0200 |
parents | 54c3ed752730 |
children | 9e2228449a72 3714a391545a |
line wrap: on
line diff
--- a/test/SbpOperators/boundaryops/normal_derivative_test.jl Wed Apr 10 09:01:54 2024 +0200 +++ b/test/SbpOperators/boundaryops/normal_derivative_test.jl Thu Apr 11 22:31:04 2024 +0200 @@ -7,8 +7,8 @@ import Sbplib.SbpOperators.BoundaryOperator @testset "normal_derivative" begin - g_1D = equidistant_grid(11, 0.0, 1.0) - g_2D = equidistant_grid((11,12), (0.0, 0.0), (1.0,1.0)) + g_1D = equidistant_grid(0.0, 1.0, 11) + g_2D = equidistant_grid((0.0, 0.0), (1.0,1.0), 11, 12) @testset "normal_derivative" begin stencil_set = read_stencil_set(sbp_operators_path()*"standard_diagonal.toml"; order=4) @testset "1D" begin