From 8850dfa052c64bdf4178f469203b44873c7b8444 Mon Sep 17 00:00:00 2001 From: "Z J Wegert (Workstation)" Date: Wed, 10 Apr 2024 10:46:14 +1000 Subject: [PATCH] Update Benchmark.jl --- src/Benchmarks.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Benchmarks.jl b/src/Benchmarks.jl index 87cc4a6e..afffef2d 100644 --- a/src/Benchmarks.jl +++ b/src/Benchmarks.jl @@ -116,13 +116,13 @@ function benchmark_forward_problem(m::AbstractFEStateMap, φh, ranks; nreps = 10 end """ - benchmark_advection(stencil::AdvectionStencil, φ0, v0, γ, ranks; nreps) + benchmark_advection(stencil::LevelSetEvolution, φ0, v0, γ, ranks; nreps) Benchmark solving the Hamilton-Jacobi evolution equation given a `stencil`, level-set function `φ0`, velocity function `v0`, and time step coefficient `γ`. See [`advect!`](@ref) for input types. """ -function benchmark_advection(stencil::AdvectionStencil, φ0, v0, γ, ranks; nreps = 10) +function benchmark_advection(stencil::LevelSetEvolution, φ0, v0, γ, ranks; nreps = 10) function f(stencil,φ,v,γ) advect!(stencil,φ,v,γ) end @@ -136,12 +136,12 @@ function benchmark_advection(stencil::AdvectionStencil, φ0, v0, γ, ranks; nrep end """ - benchmark_reinitialisation(stencil::AdvectionStencil, φ0, γ_reinit, ranks; nreps) + benchmark_reinitialisation(stencil::LevelSetEvolution, φ0, γ_reinit, ranks; nreps) Benchmark solving the reinitialisation equation given a `stencil`, level-set function `φ0`, and time step coefficient `γ`. See [`reinit!`](@ref) for input types. """ -function benchmark_reinitialisation(stencil::AdvectionStencil, φ0, γ_reinit, ranks; nreps = 10) +function benchmark_reinitialisation(stencil::LevelSetEvolution, φ0, γ_reinit, ranks; nreps = 10) function f(stencil,φ,γ_reinit) reinit!(stencil,φ,γ_reinit) end