view benchmark/make.jl @ 2080:0f949681d3d3 refactor/sbp_operators/direction_check tip

Check that direction of first/second derivative operators is within the dimension of the grid. Add 1D functions for first/second derivative operators that take a direction.
author Vidar Stiernström <vidar.stiernstrom@gmail.com>
date Fri, 20 Feb 2026 12:01:05 +0100
parents 6ae2ec4cef5a
children
line wrap: on
line source

rev = nothing
baseline = nothing
target = nothing

if "--rev" ∈ ARGS
    i = findlast(==("--rev"), ARGS)
    rev = ARGS[i+1]
end

if "--target" ∈ ARGS
    i = findlast(==("--target"), ARGS)
    target = ARGS[i+1]
end

if "--baseline" ∈ ARGS
    i = findlast(==("--baseline"), ARGS)
    baseline = ARGS[i+1]
end

include("benchmark_utils.jl")
main(;rev, target, baseline)