Skip to content

Commit 4c281fc

Browse files
svchbefaulhaber
andauthored
Test 1.12 (#148)
* Update ci.yml * add additional specialization dispatches because of dispatch changes to TrixiParticles * Update smoothed_particle_hydrodynamics.jl * Update Project.toml * Update Project.toml Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> --------- Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com>
1 parent bc6388d commit 4c281fc

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ jobs:
4343
version:
4444
# Don't use 'min' version, which will ignore hotfixes, i.e. 1.10.0 will be used instead of e.g. 1.10.8.
4545
- '1.10'
46-
- '1.11' # the latest stable 1.x release
46+
- '1.11'
47+
- '1.12' # the latest stable 1.x release
4748
os:
4849
- ubuntu-latest
4950
- windows-latest

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "PointNeighbors"
22
uuid = "1c4d5385-0a27-49de-8e2c-43b175c8985c"
33
authors = ["Erik Faulhaber <erik.faulhaber@uni-koeln.de>"]
4-
version = "0.6.5"
4+
version = "0.6.6-dev"
55

66
[deps]
77
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"

benchmarks/smoothed_particle_hydrodynamics.jl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,18 @@ end
2121
return semi.neighborhood_search
2222
end
2323

24+
# Newer TrixiParticles versions define TLSPH-specific neighborhood-search lookups.
25+
@inline function TrixiParticles.get_neighborhood_search(::TotalLagrangianSPHSystem,
26+
semi::DummySemidiscretization)
27+
return semi.neighborhood_search
28+
end
29+
30+
@inline function TrixiParticles.get_neighborhood_search(::TotalLagrangianSPHSystem,
31+
::TotalLagrangianSPHSystem,
32+
semi::DummySemidiscretization)
33+
return semi.neighborhood_search
34+
end
35+
2436
"""
2537
benchmark_wcsph(neighborhood_search, coordinates;
2638
parallelization_backend = default_backend(coordinates))

0 commit comments

Comments
 (0)