Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
323 commits
Select commit Hold shift + click to select a range
8e5a037
Move "maybe cast" macro to header for reuse
ZedThree Jun 17, 2025
b5aa5d0
Convert macro to constexpr template function
ZedThree Jun 17, 2025
2d831da
CI: Bump all ubuntu images
ZedThree Sep 18, 2024
4f6b48f
CI: require python3-boututils
dschwoerer Jun 24, 2025
9f6d7b0
CI: Switch to released fedora
dschwoerer Jun 24, 2025
0dd6dfd
coloring for petsc solver is very likely broken
dschwoerer Jun 4, 2025
ced3127
Try to do the right thing for linking netCDF::netcdf
dschwoerer Oct 21, 2024
7576810
Remove coverage test from github workflow
bendudson Jan 24, 2025
9b6ce3a
Merge pull request #3141 from boutproject/fix-failing-ci
ZedThree Jun 27, 2025
8eafc08
Bump externalpackages/boutdata from `a7a372d` to `7164a89`
dependabot[bot] Jun 30, 2025
7c2c654
Fix name clash in some examples and MMS tests
ZedThree Jul 2, 2025
824d095
Fix some clang-tidy warnings
ZedThree Jul 2, 2025
5f0720a
SNES solver: Added a PID controller to update the timestep of the bac…
malamast Jul 3, 2025
656dbdc
Apply clang-format changes
malamast Jul 3, 2025
5a240c8
Update src/solver/impls/snes/snes.cxx
malamast Jul 7, 2025
9276da0
Apply clang-format changes
malamast Jul 7, 2025
210a6bc
Update src/solver/impls/snes/snes.cxx
malamast Jul 8, 2025
e881832
Update src/solver/impls/snes/snes.cxx
malamast Jul 8, 2025
1339804
Update src/solver/impls/snes/snes.cxx
malamast Jul 8, 2025
687d21c
Update src/solver/impls/snes/snes.cxx
malamast Jul 8, 2025
0c8ef87
Update src/solver/impls/snes/snes.cxx
malamast Jul 8, 2025
fd6f189
Apply clang-format changes
malamast Jul 8, 2025
86dc232
Implement more of Field3DParallel
dschwoerer Jul 10, 2025
167e39e
Start using Field3DParallel for derivatives
dschwoerer Jul 10, 2025
66b6092
Merge branch 'next' of github.com:boutproject/BOUT-dev into fci-split…
dschwoerer Jul 15, 2025
59445b6
Do not use separate derivative store for Field3DParallel
dschwoerer Jul 16, 2025
1f3521f
Apply clang-format changes
dschwoerer Jul 16, 2025
8c40bad
Do not change non-FCI fields
dschwoerer Jul 16, 2025
3f859b3
Merge remote-tracking branch 'origin/next' into f3dwy
dschwoerer Jul 17, 2025
05dd58e
Merge branch 'fci-auto-with-debug-higher-order' into f3dwy
dschwoerer Jul 17, 2025
784d381
Add function to header file
dschwoerer Jul 17, 2025
b880846
Ensure emptyFrom works
dschwoerer Jul 17, 2025
8619876
snes: I addied some changes made on my remote branch by clang-tidy. I…
malamast Jul 17, 2025
c208639
Apply clang-format changes
malamast Jul 17, 2025
844f2d4
Use f3dwy to preserve parallel fields
dschwoerer Jul 17, 2025
25fd12f
Also load dy
dschwoerer Jul 17, 2025
5e1a3df
Preserve parallel fields for d1_dy calculation
dschwoerer Jul 17, 2025
e034ddd
Add overloads for DD?(Field3DParallel)
dschwoerer Jul 17, 2025
cdcb380
Apply clang-format changes
dschwoerer Jul 17, 2025
da7865d
add asF3dwy() stub to Field2D
dschwoerer Jul 18, 2025
6a75dfc
Apply clang-format changes
dschwoerer Jul 18, 2025
b593a19
Fix more clang-tidy warnings
ZedThree Jul 18, 2025
79af980
Loosen tolerance for hypre3d test
dschwoerer Mar 11, 2025
e8277e4
Apply clang-format changes
ZedThree Jul 18, 2025
7c586e3
Bump ZedThree/clang-tidy-review from 0.20.1 to 0.21.0
dependabot[bot] Apr 14, 2025
f133bdb
Merge pull request #3150 from boutproject/bump-clang-tidy-review
ZedThree Jul 18, 2025
60c2567
Merge branch 'next' into fix-input-name-clash
ZedThree Jul 18, 2025
cb29794
Merge remote-tracking branch 'origin/next' into f3dwy
dschwoerer Jul 18, 2025
3e9bdfd
Add some documentation
dschwoerer Jul 18, 2025
24e96d0
Be more explicit in the naming
dschwoerer Jul 18, 2025
196138a
Apply clang-tidy fix
dschwoerer Jul 18, 2025
d816d78
SNES: changes the pidController flag to pid_controller to match the v…
malamast Jul 18, 2025
3be7177
snes: fixed some merging conflicts
malamast Jul 18, 2025
a7acfc3
Disable hypre3d test
dschwoerer Jul 21, 2025
b8da0fb
do not use const for BoutReal in signature
dschwoerer Jul 21, 2025
f32693d
Add Field3DParallel + Field2D fieldops
dschwoerer Jul 21, 2025
0ecf55c
Move function definition after class definition
dschwoerer Jul 21, 2025
3012a22
Prefer std::move
dschwoerer Jul 21, 2025
63a78d9
Apply clang-format changes
dschwoerer Jul 21, 2025
2f98162
Add binary operators Field2D - FieldPerp
dschwoerer Jul 21, 2025
fdbbed6
Remove some FCI_AUTOMAGIC
dschwoerer Jul 21, 2025
cb643eb
Only use "parallel_neumann_o2" if no other parallel bc set
dschwoerer Jul 21, 2025
86fc85b
Apply clang-format changes
dschwoerer Jul 21, 2025
857e8c3
Declare Field3DParallel
dschwoerer Jul 21, 2025
751a22f
SNES: reapplied some changes from previous commits that accidentally …
malamast Jul 24, 2025
865c0ab
Apply clang-format changes
malamast Jul 24, 2025
dd146a8
Update CMakeLists.txt
tbody-cfs Apr 17, 2025
5988480
Move enable C to NetCDF
tbody-cfs Apr 18, 2025
0f7c854
Remove top-level C
tbody-cfs Apr 18, 2025
0ab77ba
Add back in C language for SUNDIALS
tbody-cfs Apr 18, 2025
bcfde74
Merge pull request #3152 from boutproject/cmake-fix-from-master
oparry-ukaea Jul 28, 2025
dc1d72d
Update pygithub requirement from ~=2.6 to ~=2.7
dependabot[bot] Jul 31, 2025
42440eb
Merge pull request #3145 from boutproject/fix-input-name-clash
ZedThree Aug 4, 2025
b192b6a
Bump externalpackages/googletest from `bac6a8f` to `244cec8`
dependabot[bot] Aug 12, 2025
424a2e5
Bump actions/checkout from 4 to 5
dependabot[bot] Aug 12, 2025
b8d37c2
Merge pull request #3146 from boutproject/snes-adaptive-pid
bendudson Aug 12, 2025
ec1f94f
snes: Print a warning if the coloring is non-symmetric.
bendudson Aug 13, 2025
cf7e043
Apply clang-format changes
bendudson Aug 13, 2025
741b1df
PetscLib: Add setOptionsFromInputFile(TS& ts)
bendudson Aug 15, 2025
33b9842
PETSc solver: Merge SNES Jacobian coloring with TS interface
bendudson Aug 15, 2025
46f7344
petsc solver fixes
bendudson Aug 15, 2025
e4fe421
petsc solver: Recover from SNES failures
bendudson Aug 15, 2025
3f67ac9
petsc: Tidying with PetscCall
bendudson Aug 15, 2025
1aca504
petsc solver improvements
bendudson Aug 15, 2025
e9025ee
petsc: Add petsc headers and define PETSC_UNLIMITED
bendudson Aug 15, 2025
672172c
Apply clang-format changes
bendudson Aug 15, 2025
3d9cbe4
Merge pull request #3158 from boutproject/dependabot/github_actions/a…
bendudson Aug 15, 2025
c3217c6
Merge pull request #3159 from boutproject/snes-warn-nonsymmetric
bendudson Aug 15, 2025
a0b6cca
Apply suggestions from code review
bendudson Aug 15, 2025
dbff5bf
petsc solver: Runs with SUNDIALS, some tidying
bendudson Aug 15, 2025
720dd2e
petsc solver: Fix Jacobian coloring with sundials method
bendudson Aug 15, 2025
1e18bf2
petsc: Use C-style cast for MatFDColoringFn
bendudson Aug 15, 2025
ca355a8
petsc: Cast coloring function to void
bendudson Aug 15, 2025
f917967
Apply clang-format changes
bendudson Aug 15, 2025
3da7dea
Try bout::cast_MatFDColoringFn
bendudson Aug 15, 2025
64dd70e
petsc: More function casting
bendudson Aug 16, 2025
0413697
petsc: Yet more function casting
bendudson Aug 16, 2025
56ad5e5
petsc: Tighten tolerance in test-solver
bendudson Aug 16, 2025
c609d76
Merge pull request #3153 from boutproject/dependabot/pip/pygithub-app…
bendudson Aug 16, 2025
b3c1517
Merge pull request #3157 from boutproject/dependabot/submodules/exter…
bendudson Aug 16, 2025
cd5cc39
Merge pull request #3143 from boutproject/dependabot/submodules/exter…
bendudson Aug 16, 2025
e105d03
Do not automatically apply parallel BCs
dschwoerer Aug 18, 2025
fa51a14
Add default argument like for Field3D
dschwoerer Aug 21, 2025
f18392d
Add missing functions
dschwoerer Aug 21, 2025
d915bfb
Ensure assignment to a Field3DParallel does not fail
dschwoerer Aug 21, 2025
a5c36b1
set parallel Bxy consistent with J and g_22
dschwoerer Aug 21, 2025
6a05d58
Add fix also to source of the generated code
dschwoerer Aug 21, 2025
96e710b
Prefer std::vector::emplace_back to work around cuda compiler issue
dschwoerer Aug 21, 2025
baa56fe
Apply clang-format changes
dschwoerer Aug 21, 2025
28dec7a
remove unneeded std::move
dschwoerer Aug 21, 2025
0560964
add filledFrom for Field3DParallel
dschwoerer Aug 25, 2025
c964ff6
Allocate before usage
dschwoerer Aug 25, 2025
2f239ad
Merge remote-tracking branch 'origin/next' into f3dwy
dschwoerer Aug 25, 2025
b968273
Allow more parallel boundary regions
dschwoerer Sep 1, 2025
43bfa9a
Add limit_at_least function to boundary_iterator
dschwoerer Sep 1, 2025
fd49f9b
Update pygithub requirement from ~=2.7 to ~=2.8
dependabot[bot] Sep 3, 2025
9cae0e5
Remove License-File, add License and README
dschwoerer Sep 4, 2025
348da9d
Merge pull request #3165 from boutproject/dependabot/pip/pygithub-app…
ZedThree Sep 4, 2025
97b0a88
Fix spacing
dschwoerer Sep 4, 2025
4803d54
Add content type
dschwoerer Sep 4, 2025
89dc6fb
Fix spacing
dschwoerer Sep 4, 2025
a0657ef
Remove License-File, add License and README
dschwoerer Sep 4, 2025
d019574
Fix spacing
dschwoerer Sep 4, 2025
7f79d21
Add content type
dschwoerer Sep 4, 2025
af37dff
Fix spacing
dschwoerer Sep 4, 2025
a23b2e0
Modify regex to make it a valid POSIX Extended regular expression
tomchapman Sep 5, 2025
9219015
Bump actions/setup-python from 5 to 6
dependabot[bot] Sep 8, 2025
679ea3c
Disable test-backtrace for FreeBSD
tomchapman Sep 15, 2025
892e0cd
Use std::filesystem instead of POSIX struct stat to be more portable
tomchapman Sep 15, 2025
a00151e
Exception messages are sent to stdout rather than stderr on FreeBSD
tomchapman Sep 15, 2025
07e8d95
Use the portable "/usr/bin/env bash" shebang instead of "/bin/bash"
tomchapman Sep 17, 2025
17f6119
Prevent SignalHandlerTestDeathTest when OS is FreeBSD
tomchapman Sep 17, 2025
0673cbc
Apply black changes
tomc271 Sep 17, 2025
646d673
Fix testCommandLineOptionsArePrinted
tomchapman Sep 18, 2025
370c42d
Preserve more when coping Field3D
dschwoerer Sep 30, 2025
107b518
add resetRegionParallel
dschwoerer Sep 30, 2025
4789b41
Set regions on parallel slices
dschwoerer Sep 30, 2025
6b993da
Add check that parallel slices have valid region
dschwoerer Sep 30, 2025
705414c
Remove commented out code
dschwoerer Sep 30, 2025
d9db6ef
Merge pull request #3172 from boutproject/fixes-for-freebsd
ZedThree Oct 1, 2025
5e03d49
Merge branch 'master' into v5.2.0-rc
ZedThree Oct 6, 2025
cfb22cf
Update translations
ZedThree Oct 6, 2025
84f60c5
Tweak citations updater, mention in docs
ZedThree Oct 6, 2025
265bbb9
Add new authors
ZedThree Oct 6, 2025
7e96b3f
Add dependencies to changelog updater
ZedThree Oct 6, 2025
7678b8a
Tweak version updater, mention in docs
ZedThree Oct 6, 2025
ad1d514
Bump version to 5.2.0
ZedThree Oct 6, 2025
0cb2971
Update changelog
ZedThree Oct 6, 2025
36f19fa
CI: Don't run clang-{tidy,format} on RC branches
ZedThree Oct 6, 2025
aaa4600
Fix reorder warning from snes
ZedThree Oct 6, 2025
e48cc34
Fix some easy clang-tidy snes warnings
ZedThree Oct 6, 2025
a855c06
Bump bundled fmt
ZedThree Oct 6, 2025
de1542e
Merge pull request #3169 from boutproject/dependabot/github_actions/a…
ZedThree Oct 6, 2025
aaa0e13
Merge pull request #3167 from boutproject/better-pypi-package-master
ZedThree Oct 6, 2025
e2cd97c
Fix deprecation warning
ZedThree Oct 6, 2025
89b0855
Remove `boututils` from requirements; bump `boutdata`
ZedThree Oct 6, 2025
1704a4a
Suppress warning from `nodiscard` function
ZedThree Oct 6, 2025
8c26fe3
Add shim for ARKodeGetNumRhsEvals
ZedThree Oct 6, 2025
ef744ea
tests: Ruff fixes for FCI runtest
ZedThree Oct 7, 2025
d889ecf
tests: Expand FCI MMS test to `Grad2_par2`
ZedThree Oct 7, 2025
122c39a
tests: Generalise FCI MMS test to allow for more cases
ZedThree Oct 7, 2025
1a0af58
tests: Add test for FCI `Div_par`
ZedThree Oct 7, 2025
1e912bd
tests: Make MMS script update input in-place
ZedThree Oct 7, 2025
560b005
tests: Add test for FCI `Div_par_K_Grad_par`
ZedThree Oct 7, 2025
8910b61
Many small fixes for FCI
ZedThree Oct 7, 2025
d170ca8
tests: Fix for 3D metric in FCI test
ZedThree Oct 8, 2025
bdef58e
tests: Add test for FCI `Laplace_par`
ZedThree Oct 8, 2025
969997c
Reduce duplication in FCI mms script
ZedThree Oct 8, 2025
3468db4
Remove circular include
ZedThree Oct 8, 2025
aee8ecc
tests: Add cases for FCI interpolation methods
ZedThree Oct 8, 2025
8e9c0fc
tests: Increase nx for hermitespline interpolation boundary problem
ZedThree Oct 9, 2025
6a4204f
tests: Add monotonichermitespline, decrease resolution scan
ZedThree Oct 9, 2025
6e35ac0
CI: Don't run clang-{tidy,format} on RC branches
ZedThree Oct 6, 2025
6c78dc4
Fix reorder warning from snes
ZedThree Oct 6, 2025
f1f0143
Fix some easy clang-tidy snes warnings
ZedThree Oct 6, 2025
6380657
Bump bundled fmt
ZedThree Oct 6, 2025
01c4068
Fix deprecation warning
ZedThree Oct 6, 2025
e804d09
Remove `boututils` from requirements; bump `boutdata`
ZedThree Oct 6, 2025
d5b92c7
Suppress warning from `nodiscard` function
ZedThree Oct 6, 2025
8726980
Add shim for ARKodeGetNumRhsEvals
ZedThree Oct 6, 2025
466fa98
Bump DOI
ZedThree Oct 10, 2025
650bfc6
Merge pull request #3176 from boutproject/v5.2.0-rc
ZedThree Oct 10, 2025
e45aad3
Merge branch 'master' into 520-into-next
ZedThree Oct 10, 2025
0d976e1
Merge pull request #3179 from boutproject/520-into-next
ZedThree Oct 10, 2025
dc3720f
snes solver: Consider timestep change at output
bendudson Oct 10, 2025
0400b72
Merge pull request #2651 from boutproject/fci-splitting
bendudson Oct 12, 2025
75385ac
Merge pull request #3166 from boutproject/better-pypi-package
bendudson Oct 12, 2025
1de1a67
Merge pull request #3180 from boutproject/snes-timestep-adjust
ZedThree Oct 15, 2025
07987ac
Add check for flux conservation
dschwoerer Oct 21, 2025
f6b7b9e
Interpolate sheath is at least o2
dschwoerer Oct 21, 2025
086d68c
Apply clang-format changes
dschwoerer Oct 21, 2025
23a79a1
Interpolate sheath is at least o2
dschwoerer Oct 21, 2025
a680c16
add asField3DParallel() const
dschwoerer Oct 21, 2025
ac95a37
Add limitFreeScale and SheathLimitMode
dschwoerer Oct 21, 2025
0b8e27d
Add extrapolate_sheath_free
dschwoerer Oct 21, 2025
cffe52d
Add set_free
dschwoerer Oct 21, 2025
a0de0c7
add missing interpolate_sheath_o2(func) to FA
dschwoerer Oct 22, 2025
267d376
add is_lower() to check for which direction the boundary is
dschwoerer Oct 22, 2025
d8c3169
Add Field3DParallel::allocate
dschwoerer Oct 23, 2025
ffb69be
Apply clang-format changes
dschwoerer Oct 23, 2025
8e211e2
Enable non-const iteration over `Options`
ZedThree Oct 23, 2025
2792afd
Add factory for LaplaceXY, LaplaceXY2, LaplaceXY2Hypre
ZedThree Oct 23, 2025
4e395d9
Merge pull request #3186 from boutproject/options-iterator
ZedThree Oct 23, 2025
96c86b8
Apply clang-format changes
ZedThree Oct 23, 2025
84a684b
Fix typo in define
ZedThree Oct 24, 2025
84d5406
Remove private variables from base class
ZedThree Oct 24, 2025
7c7acad
Try to appease clang-tidy `misc-include-cleaner`
ZedThree Oct 24, 2025
8fa9f2c
CI: Don't warn about including PETSc or MPI symbols directly
ZedThree Oct 24, 2025
2cb2280
Fix call to virtual function in ctor
ZedThree Oct 24, 2025
b497f89
Update examples for LaplaceXY factory
ZedThree Oct 24, 2025
fbe8a7f
Add `has_hypre` to python `boutconfig`
ZedThree Oct 24, 2025
d1ae6b7
Apply clang-format changes
ZedThree Oct 24, 2025
1a13819
Merge pull request #3187 from boutproject/fix-laplacexy-warning
bendudson Oct 24, 2025
b1acf2c
Mark Field3DParallel constructors explicit
dschwoerer Oct 29, 2025
5a1419f
Add implict constructors only for Field2D and Field3D
dschwoerer Oct 29, 2025
3b86ba9
Apply clang-format changes
dschwoerer Oct 29, 2025
2699caf
Delete v5 header shims
ZedThree Nov 3, 2025
d0fd5df
Merge pull request #3190 from boutproject/remove-header-shims
ZedThree Nov 3, 2025
afc4a3a
Bump bundled fmt
ZedThree Nov 3, 2025
8879da7
Merge branch 'next' into fci-tests
ZedThree Nov 3, 2025
fed93ca
Merge pull request #3191 from boutproject/bump-fmt
bendudson Nov 3, 2025
760a24f
tests: Small refactor of FCI tests
ZedThree Nov 3, 2025
58e2673
Apply black changes
ZedThree Nov 3, 2025
e050b8b
Merge pull request #3161 from boutproject/petsc-solver-merge
ZedThree Nov 3, 2025
1cce8e6
BoutComm::get() might return int
dschwoerer Nov 4, 2025
c2b5e0e
Avoid mpi-compatibility issues
dschwoerer Nov 4, 2025
00b970e
Remove configure left overs
dschwoerer Nov 4, 2025
5587f5b
Remove makefiles
dschwoerer Nov 4, 2025
83cf451
Remove vagrant config
dschwoerer Nov 4, 2025
d7a4659
Merge pull request #3195 from boutproject/vagrant-cleanup
ZedThree Nov 4, 2025
10b0d40
Apply clang-format changes
ZedThree Nov 4, 2025
db13178
Merge pull request #3193 from boutproject/fixes-ci-fedora
ZedThree Nov 4, 2025
d3d16da
Merge pull request #3194 from boutproject/configure-cleanup
ZedThree Nov 4, 2025
4f34c70
Merge remote-tracking branch 'origin/next' into f3dwy
dschwoerer Nov 4, 2025
27db65c
Merge remote-tracking branch 'origin/fci-tests' into f3dwy
dschwoerer Nov 4, 2025
ec4148f
Remove workaround
dschwoerer Nov 4, 2025
4c12e70
Merge remote-tracking branch 'origin/f3dwy' into f3dwy
dschwoerer Nov 4, 2025
f25bb0f
Apply clang-format changes
dschwoerer Nov 4, 2025
99e28ca
Fix bad merge: Add Tensor::operator[](Ind3D)
dschwoerer Nov 4, 2025
8afbcbc
add yup and ydown property
dschwoerer Nov 5, 2025
28b2192
simplify template
dschwoerer Nov 5, 2025
698b6cf
Add some asserts for Field3DParallel
dschwoerer Nov 5, 2025
6e428c1
Ensure parallel slices are present
dschwoerer Nov 5, 2025
346ff3d
Simplify div_par
dschwoerer Nov 5, 2025
96f792f
Do not communicate the magnetic field
dschwoerer Nov 5, 2025
aad0182
Ensure parallel slices are set in FIELD_FUNC
dschwoerer Nov 5, 2025
281a115
Merge branch 'f3dwy' of https://github.com/boutproject/BOUT-dev into …
dschwoerer Nov 5, 2025
87cc79a
fixup bad merge
dschwoerer Nov 5, 2025
ec8b6d4
Apply clang-format changes
dschwoerer Nov 5, 2025
9de0c34
Only run fci test for 3D metric
dschwoerer Nov 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ CheckOptions:
# otherwise this breaks `ASSERT` macros!
- key: readability-simplify-boolean-expr.IgnoreMacros
value: 'true'

- key: misc-include-cleaner.IgnoreHeaders
value: 'petsc.*\.h;mpi\.h'

- key: readability-qualified-auto.IgnoreAliasing
value: 'false'

- key: readability-qualified-auto.AllowedTypes
value: 'MPI_Comm'
---

Disabled checks and reasons:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/black-fix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
ref: ${{ github.head_ref }}

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ on:

jobs:
clang-format:
# Release candidate branches tend to have big PRs which causes all sorts of problems
if: ${{ !endsWith(github.head_ref, '-rc') }}
runs-on: ubuntu-latest
steps:
# Checkout the pull request branch, also include all history
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/clang-tidy-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,23 @@ on:
paths:
- '**.cxx'
- '**.hxx'
branches-ignore:
# Release candidate branches tend to have big PRs which causes all sorts of problems
- 'v*rc'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
review:
# Release candidate branches tend to have big PRs which causes all sorts of problems
if: ${{ !endsWith(github.head_ref, '-rc') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
submodules: true

- name: Run clang-tidy
uses: ZedThree/clang-tidy-review@v0.20.1
uses: ZedThree/clang-tidy-review@v0.21.0
id: review
with:
build_dir: build
Expand All @@ -47,4 +46,4 @@ jobs:
-DBOUT_UPDATE_GIT_SUBMODULE=OFF

- name: Upload clang-tidy fixes
uses: ZedThree/clang-tidy-review/upload@v0.20.1
uses: ZedThree/clang-tidy-review/upload@v0.21.0
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Log in to the Container registry
uses: docker/login-action@master
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
if: always()

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0
submodules: true
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
- name: Install dependencies
run: python -m pip install --upgrade pip &&
pip install --upgrade build &&
Expand Down Expand Up @@ -57,12 +57,12 @@ jobs:
if: always()

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0
submodules: true
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
- name: Install dependencies
run: python -m pip install --upgrade pip &&
pip install --upgrade build &&
Expand Down Expand Up @@ -106,12 +106,12 @@ jobs:
if: always()

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0
submodules: true
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
- name: Install dependencies
run: python -m pip install --upgrade pip &&
pip install --upgrade build &&
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,11 @@ jobs:
libparpack2-dev
libhypre-dev

- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
submodules: true

- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: '3.x'

Expand Down Expand Up @@ -205,7 +205,7 @@ jobs:
timeout-minutes: 120
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
submodules: true
- name: Build Fedora
Expand Down
66 changes: 64 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Changelog

## [v6.0.0](https://github.com/boutproject/BOUT-dev/tree/next)
[Full Changelog](https://github.com/boutproject/BOUT-dev/compare/v5.1.0...next)
## [v5.2.0](https://github.com/boutproject/BOUT-dev/tree/v5.2.0

[Full Changelog](https://github.com/boutproject/BOUT-dev/compare/v5.1.1...v5.2.0)

### Breaking changes

Expand All @@ -16,6 +17,67 @@
confusing. Now, monitors are called with the current number of
completed monitor-steps.

## Changes

- Fixes for FreeBSD [\#3172][https://github.com/boutproject/BOUT-dev/pull/3172] ([tomc271][https://github.com/tomc271])
- snes: Print a warning if the coloring is non-symmetric. [\#3159][https://github.com/boutproject/BOUT-dev/pull/3159] ([bendudson][https://github.com/bendudson])
- Cmake fix from master [\#3152][https://github.com/boutproject/BOUT-dev/pull/3152] ([oparry-ukaea][https://github.com/oparry-ukaea])
- Bump ZedThree/clang-tidy-review from 0.20.1 to 0.21.0 [\#3150][https://github.com/boutproject/BOUT-dev/pull/3150] ([ZedThree][https://github.com/ZedThree])
- SNES solver: Added a PID controller to update the timestep [\#3146][https://github.com/boutproject/BOUT-dev/pull/3146] ([malamast][https://github.com/malamast])
- Fix name clash in some examples and MMS tests [\#3145][https://github.com/boutproject/BOUT-dev/pull/3145] ([ZedThree][https://github.com/ZedThree])
- Handle absolute paths to options file [\#3142][https://github.com/boutproject/BOUT-dev/pull/3142] ([bendudson][https://github.com/bendudson])
- Revert eliminate hypre boundary equations [\#3136][https://github.com/boutproject/BOUT-dev/pull/3136] ([ZedThree][https://github.com/ZedThree])
- CI: Switch to released fedora [\#3134][https://github.com/boutproject/BOUT-dev/pull/3134] ([dschwoerer][https://github.com/dschwoerer])
- Generalise FakeMeshFixture to allow configurable grid spacing via templating [\#3132][https://github.com/boutproject/BOUT-dev/pull/3132] ([tomc271][https://github.com/tomc271])
- Fixes for ELM-PB preconditioner [\#3128][https://github.com/boutproject/BOUT-dev/pull/3128] ([Steven-Roberts][https://github.com/Steven-Roberts])
- Fix cast for new petsc [\#3117][https://github.com/boutproject/BOUT-dev/pull/3117] ([dschwoerer][https://github.com/dschwoerer])
- Fix bug where ARKODE considered all problems linear [\#3114][https://github.com/boutproject/BOUT-dev/pull/3114] ([Steven-Roberts][https://github.com/Steven-Roberts])
- cvode: Add linear_solver option [\#3112][https://github.com/boutproject/BOUT-dev/pull/3112] ([bendudson][https://github.com/bendudson])
- periodicX communication fixes [\#3109][https://github.com/boutproject/BOUT-dev/pull/3109] ([bendudson][https://github.com/bendudson])
- beuler solver timestep and Jacobian calculation [\#3107][https://github.com/boutproject/BOUT-dev/pull/3107] ([bendudson][https://github.com/bendudson])
- Feature/snes stencil [\#3104][https://github.com/boutproject/BOUT-dev/pull/3104] ([seimtpow][https://github.com/seimtpow])
- Add attributes to ADIOS2 output to "define" dimensions as names. We n… [\#3098][https://github.com/boutproject/BOUT-dev/pull/3098] ([pnorbert][https://github.com/pnorbert])
- CI: Avoid issues with special characters [\#3090][https://github.com/boutproject/BOUT-dev/pull/3090] ([dschwoerer][https://github.com/dschwoerer])
- CI: Fix clang format [\#3086][https://github.com/boutproject/BOUT-dev/pull/3086] ([dschwoerer][https://github.com/dschwoerer])
- Small updates for FCI output [\#3085][https://github.com/boutproject/BOUT-dev/pull/3085] ([bendudson][https://github.com/bendudson])
- Eliminate boundary equations to improve HYPRE solves [\#3082][https://github.com/boutproject/BOUT-dev/pull/3082] ([rfalgout][https://github.com/rfalgout])
- Elm-pb example with relaxing phi [\#3081][https://github.com/boutproject/BOUT-dev/pull/3081] ([bendudson][https://github.com/bendudson])
- CI: Show more output of dnf5 to help debugging [\#3071][https://github.com/boutproject/BOUT-dev/pull/3071] ([dschwoerer][https://github.com/dschwoerer])
- Fix clang tidy review [\#3070][https://github.com/boutproject/BOUT-dev/pull/3070] ([ZedThree][https://github.com/ZedThree])
- CMake: Bump downloaded SUNDIALS version [\#3067][https://github.com/boutproject/BOUT-dev/pull/3067] ([ZedThree][https://github.com/ZedThree])
- Use isfinite, fix pvode linking [\#3063][https://github.com/boutproject/BOUT-dev/pull/3063] ([bendudson][https://github.com/bendudson])
- Make iteration more robust and give more options in LaplaceNaulin [\#3061][https://github.com/boutproject/BOUT-dev/pull/3061] ([johnomotani][https://github.com/johnomotani])
- Fixes zoidberg [\#3054][https://github.com/boutproject/BOUT-dev/pull/3054] ([dschwoerer][https://github.com/dschwoerer])
- Fix finalise in boutpp [\#3053][https://github.com/boutproject/BOUT-dev/pull/3053] ([dschwoerer][https://github.com/dschwoerer])
- Avoid some warnings for 3D Metrics [\#3052][https://github.com/boutproject/BOUT-dev/pull/3052] ([dschwoerer][https://github.com/dschwoerer])
- Minor fixes for the python backend [\#3051][https://github.com/boutproject/BOUT-dev/pull/3051] ([dschwoerer][https://github.com/dschwoerer])
- Cleanup BOUT_HOST_DEVICE qualifiers [\#3040][https://github.com/boutproject/BOUT-dev/pull/3040] ([ggeorgakoudis][https://github.com/ggeorgakoudis])
- Deprecate options that are only used as default for other options [\#3038][https://github.com/boutproject/BOUT-dev/pull/3038] ([dschwoerer][https://github.com/dschwoerer])
- Avoid using the wrong grid by accident [\#3036][https://github.com/boutproject/BOUT-dev/pull/3036] ([dschwoerer][https://github.com/dschwoerer])
- Use PEP 625 compatible archive name (next) [\#3035][https://github.com/boutproject/BOUT-dev/pull/3035] ([dschwoerer][https://github.com/dschwoerer])
- CI: Increase check level for debug run + unit test fixes [\#3033][https://github.com/boutproject/BOUT-dev/pull/3033] ([dschwoerer][https://github.com/dschwoerer])
- Avoid `#define` conflict with sundials [\#3031][https://github.com/boutproject/BOUT-dev/pull/3031] ([dschwoerer][https://github.com/dschwoerer])
- Ensure PETSc headers are included after `bout/petsclib.hxx` [\#3024][https://github.com/boutproject/BOUT-dev/pull/3024] ([ZedThree][https://github.com/ZedThree])
- Fix minor HYPRE and ADIOS2 compilation issues [\#3022][https://github.com/boutproject/BOUT-dev/pull/3022] ([ZedThree][https://github.com/ZedThree])
- Fix recompilation cascade [\#3021][https://github.com/boutproject/BOUT-dev/pull/3021] ([ZedThree][https://github.com/ZedThree])
- Move `invert3x3` out of general purpose `utils.hxx` header [\#3018][https://github.com/boutproject/BOUT-dev/pull/3018] ([ZedThree][https://github.com/ZedThree])
- Replace deprecated `boututils.file_import` [\#3017][https://github.com/boutproject/BOUT-dev/pull/3017] ([ZedThree][https://github.com/ZedThree])
- CI: clang-tidy-review tweaks [\#3016][https://github.com/boutproject/BOUT-dev/pull/3016] ([ZedThree][https://github.com/ZedThree])
- Backward Euler solver improvements [\#3009][https://github.com/boutproject/BOUT-dev/pull/3009] ([bendudson][https://github.com/bendudson])
- Fix circular header dependency: mesh.hxx <-> griddata.hxx [\#3008][https://github.com/boutproject/BOUT-dev/pull/3008] ([ZedThree][https://github.com/ZedThree])
- Fix exception message [\#3003][https://github.com/boutproject/BOUT-dev/pull/3003] ([dschwoerer][https://github.com/dschwoerer])
- Ensure pointer is checked before dereferencing [\#3002][https://github.com/boutproject/BOUT-dev/pull/3002] ([dschwoerer][https://github.com/dschwoerer])
- Fix: preserve regionID [\#3000][https://github.com/boutproject/BOUT-dev/pull/3000] ([dschwoerer][https://github.com/dschwoerer])
- Lazy grid loading [\#2991][https://github.com/boutproject/BOUT-dev/pull/2991] ([dschwoerer][https://github.com/dschwoerer])
- Fix compilation warnings with SUNDIALS 7.1.0 [\#2990][https://github.com/boutproject/BOUT-dev/pull/2990] ([Steven-Roberts][https://github.com/Steven-Roberts])
- Add LC gitlab CI for GPU build/run tests [\#2989][https://github.com/boutproject/BOUT-dev/pull/2989] ([ggeorgakoudis][https://github.com/ggeorgakoudis])
- BoutMask non-const operator[](Ind3D) [\#2988][https://github.com/boutproject/BOUT-dev/pull/2988] ([bendudson][https://github.com/bendudson])
- Use consistently signed char [\#2987][https://github.com/boutproject/BOUT-dev/pull/2987] ([dschwoerer][https://github.com/dschwoerer])
- naulin laplace: Acceptance tolerances after maxits [\#2983][https://github.com/boutproject/BOUT-dev/pull/2983] ([bendudson][https://github.com/bendudson])
- Merge v5.1.1 into `next` [\#2978][https://github.com/boutproject/BOUT-dev/pull/2978] ([ZedThree][https://github.com/ZedThree])
- CI: Bump all ubuntu images [\#2977][https://github.com/boutproject/BOUT-dev/pull/2977] ([ZedThree][https://github.com/ZedThree])
- Read 2D variables into Field3D [\#2975][https://github.com/boutproject/BOUT-dev/pull/2975] ([bendudson][https://github.com/bendudson])

## [v5.1.1](https://github.com/boutproject/BOUT-dev/tree/v5.1.1)
[Full Changelog](https://github.com/boutproject/BOUT-dev/compare/v5.1.0...v5.1.1)

Expand Down
22 changes: 19 additions & 3 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,27 @@ authors:
- family-names: Kryjak
given-names: Mike

version: 5.1.1
date-released: 2023-04-10
- family-names: Powell
given-names: Seimon
- family-names: Ağgül
given-names: Mustafa
- family-names: Parry
given-names: Owen
- family-names: Podhorszki
given-names: Norbert
- family-names: Falgout
given-names: Rob
- family-names: Li
given-names: Nami
- family-names: Body
given-names: Tom
- family-names: Tsagkaridis
given-names: Malamas
version: 5.2.0
date-released: 2025-10-10
repository-code: https://github.com/boutproject/BOUT-dev
url: http://boutproject.github.io/
doi: 10.5281/zenodo.13753882
doi: 10.5281/zenodo.17313945
license: 'LGPL-3.0-or-later'
references:
- type: article
Expand Down
15 changes: 9 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ endif()
# CMake currently doesn't support proper semver
# Set the version here, strip any extra tags to use in `project`
# We try to use git to get a full description, inspired by setuptools_scm
set(_bout_previous_version "5.1.1")
set(_bout_next_version "5.2.0")
set(_bout_previous_version "5.2.0")
set(_bout_next_version "5.2.1")
execute_process(
COMMAND "git" describe --tags --match=v${_bout_previous_version}
COMMAND sed -e s/${_bout_previous_version}-/${_bout_next_version}.dev/ -e s/-/+/
Expand Down Expand Up @@ -235,11 +235,13 @@ set(BOUT_SOURCES
./src/invert/laplace/impls/hypre3d/hypre3d_laplace.cxx
./src/invert/laplace/impls/hypre3d/hypre3d_laplace.hxx
./src/invert/laplace/invert_laplace.cxx
./src/invert/laplacexy/impls/hypre/laplacexy-hypre.cxx
./src/invert/laplacexy/impls/hypre/laplacexy-hypre.hxx
./src/invert/laplacexy/impls/petsc/laplacexy-petsc.cxx
./src/invert/laplacexy/impls/petsc/laplacexy-petsc.hxx
./src/invert/laplacexy/impls/petsc2/laplacexy-petsc2.cxx
./src/invert/laplacexy/impls/petsc2/laplacexy-petsc2.hxx
./src/invert/laplacexy/laplacexy.cxx
./include/bout/invert/laplacexy2.hxx
./src/invert/laplacexy2/laplacexy2.cxx
./include/bout/invert/laplacexy2_hypre.hxx
./src/invert/laplacexy2/laplacexy2_hypre.cxx
./src/invert/laplacexz/impls/cyclic/laplacexz-cyclic.cxx
./src/invert/laplacexz/impls/cyclic/laplacexz-cyclic.hxx
./src/invert/laplacexz/impls/petsc/laplacexz-petsc.cxx
Expand Down Expand Up @@ -375,6 +377,7 @@ if (zoidberg_FOUND EQUAL 0)
else()
set(zoidberg_FOUND OFF)
endif()
message(STATUS "Found Zoidberg for FCI tests: ${zoidberg_FOUND}")

option(BOUT_GENERATE_FIELDOPS "Automatically re-generate the Field arithmetic operators from the Python templates. \
Requires Python3, clang-format, and Jinja2. Turn this OFF to skip generating them if, for example, \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Build Status](https://github.com/boutproject/BOUT-dev/actions/workflows/tests.yml/badge.svg?branch=next)](https://github.com/boutproject/BOUT-dev/actions)
[![License](https://img.shields.io/badge/license-LGPL-blue.svg)](https://www.gnu.org/licenses/lgpl-3.0.en.html)
[![py3comp](https://img.shields.io/badge/py3-compatible-brightgreen.svg)](https://img.shields.io/badge/py3-compatible-brightgreen.svg)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.13753882.svg)](https://doi.org/10.5281/zenodo.8369888)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.17313945.svg)](https://doi.org/10.5281/zenodo.17313945)

```
.______ ______ __ __ .___________.
Expand Down
6 changes: 6 additions & 0 deletions bin/bout-changelog-generator.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#! /usr/bin/env python3
# /// script
# requires-python = ">=3.12"
# dependencies = [
# "pygithub",
# ]
# ///

import argparse
import os
Expand Down
10 changes: 10 additions & 0 deletions bin/update_citations.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
#!/usr/bin/env python3
# /// script
# requires-python = ">=3.11"
# dependencies = [
# "ruamel-yaml",
# "unidecode",
# ]
# ///
import argparse
import subprocess
from collections import defaultdict
Expand Down Expand Up @@ -242,6 +249,9 @@ def update_citations():

new_authors = []
for author in unrecognised_authors:
if " " not in author:
# This is just a GitHub handle, skip
continue
first_name, last_name = author.rsplit(maxsplit=1)
new_authors.append({"family-names": last_name, "given-names": first_name})

Expand Down
5 changes: 0 additions & 5 deletions bin/update_version_number_in_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,6 @@ def update_version_number_in_file(relative_filepath, pattern, new_version_number
def bump_version_numbers(
new_version_number: VersionNumber, next_version_number: VersionNumber
):
update_version_number_in_file(
"configure.ac",
r"^AC_INIT\(\[BOUT\+\+\],\[(\d+\.\d+\.\d+)\]",
new_version_number,
)
update_version_number_in_file(
"CITATION.cff", r"^version: (\d+\.\d+\.\d+)", new_version_number
)
Expand Down
Loading
Loading