We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abfb085 commit f901a32Copy full SHA for f901a32
benchmarks/smoothed_particle_hydrodynamics.jl
@@ -21,6 +21,19 @@ end
21
return semi.neighborhood_search
22
end
23
24
+# Newer TrixiParticles versions define TLSPH-specific neighborhood-search lookups.
25
+# Provide explicit tie-breakers so the benchmark shim keeps using its single NHS.
26
+@inline function TrixiParticles.get_neighborhood_search(::TotalLagrangianSPHSystem,
27
+ semi::DummySemidiscretization)
28
+ return semi.neighborhood_search
29
+end
30
+
31
32
+ ::TotalLagrangianSPHSystem,
33
34
35
36
37
"""
38
benchmark_wcsph(neighborhood_search, coordinates;
39
parallelization_backend = default_backend(coordinates))
0 commit comments