Skip to content

Commit

Permalink
Missing argument to compute normal displacement
Browse files Browse the repository at this point in the history
  • Loading branch information
ericneiva committed Aug 29, 2024
1 parent 151ac13 commit cf905de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/AlgoimUtils/AlgoimUtils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@ end

function compute_normal_displacement!(
cache,
uₕ::FEFunction,
cpₕ::FEFunction,
phi::AlgoimCallLevelSetFunction,
dt::Float64,
Expand All @@ -547,7 +548,7 @@ function compute_normal_displacement!(
cell_to_points, _ = make_inverse_table(point_to_cell, num_cells(Ω))
cell_to_xs = lazy_map(Broadcasting(Reindex(cps)), cell_to_points)
cell_point_xs = CellPoint(cell_to_xs, Ω, PhysicalDomain())
fun_xs = evaluate(cpₕ,cell_point_xs)
fun_xs = evaluate(uₕ,cell_point_xs)
nΓ_xs = evaluate(normal(phi,Ω),cell_point_xs)
cell_point_disp = lazy_map(Broadcasting(),fun_xs,nΓ_xs)
cache_vals = array_cache(cell_point_disp)
Expand Down

0 comments on commit cf905de

Please sign in to comment.