Skip to content

Commit 2e3ff0d

Browse files
committed
remove one single use function
1 parent 74aa573 commit 2e3ff0d

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

src/general/semidiscretization.jl

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -477,8 +477,13 @@ function kick!(dv_ode, v_ode, u_ode, semi, t)
477477

478478
@trixi_timeit timer() "reset ∂v/∂t" set_zero!(dv_ode)
479479

480-
@trixi_timeit timer() "update systems and nhs" update_systems_and_nhs(v_ode, u_ode,
481-
semi, t)
480+
# Update the systems and neighborhood searches (NHS) for a simulation
481+
# before calling `interact!` to compute forces.
482+
@trixi_timeit timer() "update systems and nhs" update_systems!(v_ode, u_ode, semi,
483+
t;
484+
update_nhs=true,
485+
update_boundary_interpolation=true,
486+
update_inter_system=true)
482487

483488
@trixi_timeit timer() "system interaction" system_interaction!(dv_ode, v_ode, u_ode,
484489
semi)
@@ -537,15 +542,6 @@ function update_systems!(v_ode, u_ode, semi, t;
537542
end
538543
end
539544

540-
# Update the systems and neighborhood searches (NHS) for a simulation
541-
# before calling `interact!` to compute forces.
542-
function update_systems_and_nhs(v_ode, u_ode, semi, t)
543-
update_systems!(v_ode, u_ode, semi, t;
544-
update_nhs=true,
545-
update_boundary_interpolation=true,
546-
update_inter_system=true)
547-
end
548-
549545
# The `SplitIntegrationCallback` overwrites `semi_wrap` to use a different
550546
# semidiscretization for wrapping arrays.
551547
# TODO `semi` is not used yet, but will be used when the source terms API is modified

0 commit comments

Comments
 (0)