Skip to content

Commit 52b12bf

Browse files
authored
Merge branch 'main' into interpolation-gpu
2 parents 2060190 + 2277802 commit 52b12bf

File tree

149 files changed

+17442
-1885
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

149 files changed

+17442
-1885
lines changed

.buildkite/pipeline.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ steps:
22
- label: "CUDA"
33
plugins:
44
- JuliaCI/julia#v1:
5-
version: "1.11"
5+
version: "1.12"
66
agents:
77
queue: "juliagpu"
88
cuda: "*"
@@ -16,7 +16,7 @@ steps:
1616
- label: "AMDGPU"
1717
plugins:
1818
- JuliaCI/julia#v1:
19-
version: "1.11"
19+
version: "1.12"
2020
agents:
2121
queue: "juliagpu"
2222
rocm: "*"
@@ -30,7 +30,7 @@ steps:
3030
- label: "Metal"
3131
plugins:
3232
- JuliaCI/julia#v1:
33-
version: "1.11"
33+
version: "1.12"
3434
agents:
3535
queue: "juliaecosystem"
3636
os: "macos"

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,11 @@ updates:
55
directory: "/" # Location of package manifests
66
schedule:
77
interval: "monthly"
8+
groups:
9+
# Group all GitHub Actions PRs into a single PR:
10+
all-github-actions:
11+
patterns:
12+
- "*"
13+
ignore:
14+
- dependency-name: "julia-actions/julia-downgrade-compat"
15+
versions: [ ">=2.0.0" ]

.github/workflows/Documenter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
os: [ubuntu-latest, windows-latest]
3232
steps:
3333
- name: Check out project
34-
uses: actions/checkout@v5
34+
uses: actions/checkout@v6
3535
- name: Set up Julia
3636
uses: julia-actions/setup-julia@v2
3737
with:
3838
version: '1'
3939
show-versioninfo: true
40-
- uses: julia-actions/cache@v2
40+
- uses: julia-actions/cache@v3
4141
- name: Build package
4242
uses: julia-actions/julia-buildpkg@v1
4343
- name: Install dependencies

.github/workflows/FormatCheck.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Check out project
16-
uses: actions/checkout@v5
16+
uses: actions/checkout@v6
1717
- name: Set up Julia
1818
uses: julia-actions/setup-julia@v2
1919
with:
2020
version: '1'
2121
- run: julia -e 'using InteractiveUtils; versioninfo(verbose=true)'
22-
- uses: julia-actions/cache@v2
22+
- uses: julia-actions/cache@v3
2323
- name: Install JuliaFormatter and format
2424
# This will use the latest version by default but you can set the version like so:
2525
#

.github/workflows/Invalidations.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020
with:
2121
# TODO: Is broken in 1.11 revert to 1 after fix
2222
version: '1.10'
23-
- uses: actions/checkout@v5
23+
- uses: actions/checkout@v6
2424
- uses: julia-actions/julia-buildpkg@v1
2525
- uses: julia-actions/julia-invalidations@v1
2626
id: invs_pr
2727

28-
- uses: actions/checkout@v5
28+
- uses: actions/checkout@v6
2929
with:
3030
ref: ${{ github.event.repository.default_branch }}
3131
- uses: julia-actions/julia-buildpkg@v1

.github/workflows/SpellCheck.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout Actions Repository
11-
uses: actions/checkout@v5
11+
uses: actions/checkout@v6
1212
- name: Check spelling
13-
uses: crate-ci/typos@v1.39.0
13+
uses: crate-ci/typos@v1.44.0

.github/workflows/TriggerGPUTests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Trigger Buildkite Pipeline
14-
uses: "buildkite/trigger-pipeline-action@v2.4.0"
14+
uses: "buildkite/trigger-pipeline-action@v2.4.1"
1515
with:
1616
buildkite_api_access_token: ${{ secrets.TRIGGER_BK_BUILD_TOKEN }}
1717
pipeline: "julialang/trixiparticles"

.github/workflows/ci.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
version:
4545
- '1.10'
4646
- '1.11'
47+
- '1.12'
4748
os:
4849
- ubuntu-latest
4950
include:
@@ -53,14 +54,14 @@ jobs:
5354
os: windows-latest
5455
- version: '1.10'
5556
os: macos-14
56-
- version: '1.11'
57+
- version: '1.12'
5758
os: windows-latest
58-
- version: '1.11'
59+
- version: '1.12'
5960
os: macos-14
6061

6162
steps:
6263
- name: Check out project
63-
uses: actions/checkout@v5
64+
uses: actions/checkout@v6
6465

6566
- name: Set up Julia
6667
uses: julia-actions/setup-julia@v2
@@ -70,7 +71,7 @@ jobs:
7071
- name: Display Julia version
7172
run: julia -e 'using InteractiveUtils; versioninfo(verbose=true)'
7273

73-
- uses: julia-actions/cache@v2
74+
- uses: julia-actions/cache@v3
7475

7576
- name: Build package
7677
uses: julia-actions/julia-buildpkg@v1
@@ -94,7 +95,7 @@ jobs:
9495
- name: Upload unit coverage report to Codecov
9596
# Only run coverage in one Job (Ubuntu and latest Julia version)
9697
if: matrix.os == 'ubuntu-latest' && matrix.version == '1.11'
97-
uses: codecov/codecov-action@v5
98+
uses: codecov/codecov-action@v6
9899
with:
99100
files: lcov.info
100101
fail_ci_if_error: true
@@ -121,7 +122,7 @@ jobs:
121122
- name: Upload total coverage report to Codecov
122123
# Only run coverage in one Job (Ubuntu and latest Julia version)
123124
if: matrix.os == 'ubuntu-latest' && matrix.version == '1.11'
124-
uses: codecov/codecov-action@v5
125+
uses: codecov/codecov-action@v6
125126
with:
126127
files: lcov.info
127128
fail_ci_if_error: true

NEWS.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,62 @@ TrixiParticles.jl follows the interpretation of
44
[semantic versioning (semver)](https://julialang.github.io/Pkg.jl/dev/compatibility/#Version-specifier-format-1)
55
used in the Julia ecosystem. Notable changes will be documented in this file for human readability.
66

7+
## Version 0.4.4
8+
9+
### API Changes
10+
11+
- Custom quantities called in the `PostprocessCallback` are now passed CPU arrays when
12+
the simulation is run on a GPU (#1065).
13+
14+
### Features
15+
16+
- Added `StateEquationAdaptiveCole` an adaptive sound speed version of the Cole state equation (#875).
17+
- Added `RigidBodySystem` that supports rigid body dynamics for FSI (#1076).
18+
- Added `RigidContactModel` that supports rigid-wall and rigid-rigid collisions (#1090, #1091).
19+
- Added a specialized neighborhood search for TLSPH self-interaction (#1016).
20+
- Added CFL condition for TLSPH and split integration (#1030).
21+
- Added new validation case hydrostatic water column (#724).
22+
- Added Carreau–Yasuda non-Newtonian viscosity model (#1010).
23+
24+
### Important Bugfixes
25+
26+
- Fixed the periodic array of cylinders example file (#975).
27+
- A `StepsizeCallback` can now be used with open boundaries (#1074).
28+
29+
### Documentation
30+
31+
- Added a new tutorial for rigid body dynamics (#1095).
32+
- Better overview page for tutorials (#1093).
33+
34+
## Version 0.4.3
35+
36+
### API Changes
37+
38+
- Added the keyword `coordinates_eltype` to `RectangularTank`,
39+
`RectangularShape` and `SphereShape`, which defaults to `Float64` (#956).
40+
41+
- Added keywords `element_type` and `coordinates_eltype` to `vtk2trixi` (#991)
42+
43+
### Features
44+
- Added support for ASCII STL files with multiple patches as separate geometries,
45+
plus a function `extrude_geometry` and a union operation for `TrixiParticles.TriangleMesh` (#962).
46+
47+
- Added an `RCRWindkesselModel` open-boundary pressure model as a lumped-parameter
48+
description of vascular systems (#935, #1019, #992).
49+
50+
- Added support for FP64 coordinates when using FP32 GPU computations, fixing
51+
stability issues at high resolutions (#956).
52+
53+
- Added a new `LaguerreGaussKernel` smoothing kernel (#893).
54+
55+
- Added GPU and FP32 support for DEM (#979).
56+
57+
58+
### Performance
59+
- Improved GPU performance with shifting up to a factor of 10x (#974, #993).
60+
61+
- Significantly improved GPU performance of TLSPH (#1014).
62+
763
## Version 0.4.2
864

965
### API Changes

Project.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
name = "TrixiParticles"
22
uuid = "66699cd8-9c01-4e9d-a059-b96c86d16b3a"
33
authors = ["erik.faulhaber <44124897+efaulhaber@users.noreply.github.com>"]
4-
version = "0.4.2"
4+
version = "0.4.5-dev"
55

66
[deps]
7+
Accessors = "7d9f7c33-5ae7-4f3b-8dc6-eff91059b697"
78
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
89
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
910
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
@@ -34,14 +35,14 @@ TrixiBase = "9a0f1c46-06d5-4909-a5a3-ce25d3fa3284"
3435
WriteVTK = "64499a7a-5c06-52f2-abe2-ccb03c286192"
3536

3637
[weakdeps]
37-
IntervalSets = "8197267c-284f-5f27-9208-e0e47529a953"
3838
OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"
3939
OrdinaryDiffEqCore = "bbf590c4-e513-4bbe-9b18-05decba2e5d8"
4040

4141
[extensions]
4242
TrixiParticlesOrdinaryDiffEqExt = ["OrdinaryDiffEq", "OrdinaryDiffEqCore"]
4343

4444
[compat]
45+
Accessors = "0.1.43"
4546
Adapt = "4"
4647
CSV = "0.10"
4748
DataFrames = "1.6"
@@ -51,13 +52,12 @@ FastPow = "0.1"
5152
FileIO = "1"
5253
ForwardDiff = "1"
5354
GPUArraysCore = "0.2"
54-
IntervalSets = "0.7 - 0.7.11"
5555
JSON = "1"
5656
KernelAbstractions = "0.9"
5757
MuladdMacro = "0.2"
5858
OrdinaryDiffEq = "6.91"
59-
OrdinaryDiffEqCore = "1"
60-
PointNeighbors = "0.6.3"
59+
OrdinaryDiffEqCore = "2, 3"
60+
PointNeighbors = "0.6.5"
6161
Polyester = "0.7.10"
6262
ReadVTK = "0.2"
6363
RecipesBase = "1"

0 commit comments

Comments
 (0)