Skip to content

Commit

Permalink
Rename advect!
Browse files Browse the repository at this point in the history
  • Loading branch information
zjwegert committed Apr 10, 2024
1 parent 8850dfa commit 8b60442
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Benchmarks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@ end
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.
See [`evolve!`](@ref) for input types.
"""
function benchmark_advection(stencil::LevelSetEvolution, φ0, v0, γ, ranks; nreps = 10)
function f(stencil,φ,v,γ)
advect!(stencil,φ,v,γ)
evolve!(stencil,φ,v,γ)
end
function reset!(stencil,φ,v,γ)
copy!(φ,φ0)
Expand Down
2 changes: 1 addition & 1 deletion src/LevelSetTopOpt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export isotropic_elast_tensor
include("LevelSetEvolution/LevelSetEvolution.jl")
export HamiltonJacobiEvolution
export FirstOrderStencil
export advect!
export evolve!
export reinit!

include("Solvers.jl")
Expand Down

0 comments on commit 8b60442

Please sign in to comment.