Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
168 commits
Select commit Hold shift + click to select a range
fa357c1
Add isFci to check if a field is a FCI field.
dschwoerer Mar 19, 2024
ca59edb
Improve isFci
dschwoerer Nov 3, 2023
8b1fbba
Apply clang-format changes
dschwoerer Mar 19, 2024
23d309f
Make isFci a member function and add missing func
dschwoerer Mar 20, 2024
18fca62
Make it explicit that this is a pointer
dschwoerer Apr 12, 2024
44084cc
Add isFci also to mesh
dschwoerer Jul 2, 2024
cd288e9
Add const version for getCoordinates
dschwoerer Aug 9, 2024
061b82f
Apply clang-format changes
dschwoerer Oct 22, 2024
0a5e3da
Merge branch 'next' into add-is-fci
dschwoerer Oct 22, 2024
5ef1268
Merge branch 'add-is-fci' into is-fci-mesh
dschwoerer Oct 22, 2024
a4b8abf
Merge pull request #3001 from boutproject/is-fci-mesh
bendudson Oct 28, 2024
ececfb8
Apply suggestions from clang-tidy
dschwoerer Nov 6, 2024
aebca7e
CI: Bump clang-tidy-review
ZedThree Feb 10, 2025
cc8c683
CI: Disable annotations for clang-tidy-review
ZedThree Feb 10, 2025
9063bf1
CI: Show more output of dnf5 to help debugging
dschwoerer Feb 11, 2025
ef33ba9
Merge pull request #3070 from boutproject/fix-clang-tidy-review
ZedThree Feb 12, 2025
679058c
Merge pull request #3071 from boutproject/ci-dnf5-more
ZedThree Feb 14, 2025
d377379
elm-pb example: Adding relaxing phi boundaries
bendudson Mar 5, 2025
5ce6cae
First version of code to eliminate boundary equations to improve HYPR…
rfalgout Mar 5, 2025
14a621b
elm_pb example: Fix outer boundary phivalue
bendudson Mar 5, 2025
e3f4a98
Added HYPRE GMRES SetKDim call. Need to make this an input file para…
rfalgout Mar 5, 2025
ef06967
Added code to free up data. The HypreMatrix destroy needs to be upda…
rfalgout Mar 5, 2025
6766006
hypre_interface: Wrap BC arrays in structs & shared_ptr
bendudson Mar 5, 2025
29b65c5
Fixed a bug in rhs update for boundary elimination code
rfalgout Mar 5, 2025
62b923b
FCITransform: Save R and Z coordinates to output
bendudson Mar 5, 2025
91ddbfd
Mesh, BoutMesh, Coordinates: update header comment
bendudson Mar 5, 2025
33d78fe
Apply suggestions from code review
bendudson Mar 6, 2025
08b1261
hypre_interface: Moved BC elimination to src/sys/hypre_interface.cxx
bendudson Mar 6, 2025
eea57fc
test-laplace-hypre3d: Suppress BOUT++ log outputs
bendudson Mar 6, 2025
ef9fbed
Apply black changes
bendudson Mar 6, 2025
af72bd8
Do not fail if clang-format is formatting the code
dschwoerer Mar 6, 2025
e8e5845
Merge pull request #3086 from boutproject/fix-clang-format
ZedThree Mar 6, 2025
551fc29
Merge pull request #3085 from boutproject/fci-io
bendudson Mar 10, 2025
7bbf7f3
Merge pull request #3081 from boutproject/elmpb-relaxing-phi
bendudson Mar 11, 2025
aeb83c6
CI: Avoid issues with special characters
dschwoerer Mar 12, 2025
dfa31b2
CI: run git-clang-format until there are no more changes
dschwoerer Mar 12, 2025
e743eb0
CI: use one line
dschwoerer Mar 12, 2025
1cb5277
CI: stage before we run git-clang-format again
dschwoerer Mar 12, 2025
9d1b469
Turn off test for false convergence in hypre GMRES solver
rfalgout Mar 19, 2025
f969c01
hypre_interface: Add kdim and skip_real_residual_check options
bendudson Mar 19, 2025
b70f79f
Merge pull request #2887 from boutproject/add-is-fci
bendudson Mar 27, 2025
3aed489
Add attributes to ADIOS2 output to "define" dimensions as names. We n…
pnorbert Apr 26, 2024
606a322
Merge pull request #3098 from pnorbert/myfixes
bendudson Apr 18, 2025
d43cea2
Enable alternative stencil shapes in jocobian colouring
Apr 24, 2025
19ec182
Change message to match rest of output
Apr 24, 2025
697f729
Obey the naming conventions
Apr 24, 2025
540ab7d
beuler: Merge improvements
bendudson Apr 24, 2025
aed011f
beuler: Limit stencil to fit in guard cells
bendudson Apr 24, 2025
c94150e
beuler: Fix limits on indices
bendudson Apr 24, 2025
56298f0
beuler: Apply clang-format
bendudson Apr 24, 2025
348e65b
beuler: Disable matrix_free_operator by default
bendudson Apr 26, 2025
ea7695a
snes: Add documentation to manual
bendudson Apr 27, 2025
ca7a82e
Merge pull request #3104 from seimtpow/feature/snes_stencil
bendudson Apr 28, 2025
9fba061
Add TokamakOptions::CylindricalCoordinatesToCartesian()
tomchapman Apr 28, 2025
4c50b3d
Add test fixture CoordinateTransformTest, and test CylindricalToCarte…
tomchapman Apr 28, 2025
a63f7d6
Fix CylindricalCoordinatesToCartesian()
tomchapman Apr 28, 2025
71f9429
Fix test CylindricalToCartesian
tomchapman Apr 28, 2025
06df2d6
Calculate toroidal angle, as 2*pi/n
tomchapman Apr 28, 2025
0ced35e
beuler: Add output interpolation
bendudson May 3, 2025
8159339
snes: Make timestep adjustment tunable
bendudson May 3, 2025
1d7ab06
periodicX communication fixes
bendudson May 9, 2025
255e22d
Merge pull request #3109 from boutproject/next-periodicX
bendudson May 12, 2025
49ae23b
Modify generation of test values for Rxy
tomchapman Apr 28, 2025
5387b8a
Use a realistic set of test points as input
tomchapman May 14, 2025
c1ed640
Use standard library functions for sin() and cos()
tomchapman May 21, 2025
e6e1d62
Use a vector for the toroidal angle values. Iterate over all r, theta…
tomchapman May 16, 2025
bd86979
Prefer const
tomchapman May 21, 2025
392ae19
Use range-based loops
tomchapman May 21, 2025
25c850e
Pass parameters by reference
tomchapman May 21, 2025
bf20998
FakeMeshFixture has nx=3, ny=5, nz=7
tomchapman May 21, 2025
7296f4b
Use nx and ny variables, to avoid magic numbers
tomchapman May 21, 2025
19d6454
Bug fix: toroidal angle is not an int
tomchapman May 21, 2025
f5d3abe
cvode: Add linear_solver option
bendudson May 22, 2025
b9757cd
Add explanatory comments to test
tomchapman May 22, 2025
0fb5b3f
Don't instantiate Field3D from Field2D
tomchapman May 22, 2025
02d4cbf
Just test min and max values
tomchapman May 22, 2025
3853d3d
Use python f-strings
bendudson May 27, 2025
cac159e
Merge pull request #3112 from boutproject/cvode-linear-solver
bendudson May 28, 2025
a7771c5
Fix bug where ARKODE considered all problems linear
Steven-Roberts May 30, 2025
6b1d6f4
Fix call depending on PETSc version
dschwoerer Jun 3, 2025
d8fd1b5
Remove extra (
dschwoerer Jun 3, 2025
651d41d
Update function signature to avoid cast
dschwoerer Jun 3, 2025
88c34fe
Revert modification of wrong function
dschwoerer Jun 3, 2025
f2140b4
Merge pull request #3090 from boutproject/fix-clang-format
ZedThree Jun 3, 2025
1ead044
Adjust petsc solver for petsc changes
dschwoerer Jun 4, 2025
1bd95dd
Adopt snes.cxx for newest petsc changes
dschwoerer Jun 4, 2025
3859555
Merge pull request #3114 from Steven-Roberts/arkode-linear-bugfix
bendudson Jun 4, 2025
04338cd
coloring for petsc solver is very likely broken
dschwoerer Jun 4, 2025
c84a2fc
Cast to fix first argument from SNES to void*
dschwoerer Jun 5, 2025
afd3230
Merge branch 'next' of github.com:boutproject/BOUT-dev into fix-cast-…
dschwoerer Jun 5, 2025
4b09458
Apply clang-format changes
dschwoerer Jun 5, 2025
22e2e84
Cleanup casting
dschwoerer Jun 6, 2025
fd386e1
Update docs for what PETSc we support
dschwoerer Jun 6, 2025
c4c9b92
Remove old checks
dschwoerer Jun 6, 2025
6506d18
Add missing header
dschwoerer Jun 8, 2025
6d1db35
Fix usage of macros
dschwoerer Jun 8, 2025
086a8b1
Add nx, ny, nz as optional arguments to FakeMeshFixture constructor
tomchapman Jun 10, 2025
0d43214
Use nz=8 in CoordinateTransformTest
tomchapman Jun 10, 2025
c0a9155
Add missing import
dschwoerer Jun 12, 2025
844da11
Always cast to PetscErrorCode (*f)(void)
dschwoerer Jun 12, 2025
ad178b1
Fix check for release
dschwoerer Jun 12, 2025
64b8bd0
Use type alias FakeMeshFixture = FakeMeshFixture_tmpl<3, 5, 7> as a s…
tomchapman Jun 12, 2025
511f4a9
Fix PETSc version check for MatFDColoringFn typedef
ZedThree Jun 17, 2025
fa2ff89
Move "maybe cast" macro to header for reuse
ZedThree Jun 17, 2025
6a7e43e
Convert macro to constexpr template function
ZedThree Jun 17, 2025
5a14fa2
Apply clang-format changes
ZedThree Jun 17, 2025
15a2397
Fixes for ELM-PB preconditioner
Steven-Roberts Jun 18, 2025
dc8027d
Merge pull request #3128 from Steven-Roberts/elm-pb-precon-fix
bendudson Jun 18, 2025
a7142b3
Merge pull request #3117 from boutproject/fix-cast-for-new-petsc
ZedThree Jun 18, 2025
520ba06
Merge pull request #3107 from boutproject/snes-timestep
bendudson Jun 21, 2025
ce417ca
Merge branch 'next' into next-elimBE
bendudson Jun 21, 2025
f880dcb
Apply clang-format changes
bendudson Jun 21, 2025
10ccee3
Add nx, ny, nz as optional arguments to FakeMeshFixture constructor
tomchapman Jun 10, 2025
f69ccdc
Use type alias FakeMeshFixture = FakeMeshFixture_tmpl<3, 5, 7> as a s…
tomchapman Jun 12, 2025
d3bd5f9
Apply clang-format changes
tomc271 Jun 23, 2025
d7cdc65
Small tidy of test class docstring
ZedThree Jun 23, 2025
e080493
Merge pull request #3082 from boutproject/next-elimBE
bendudson Jun 24, 2025
3d6a519
Merge pull request #3132 from boutproject/flexible-fakemeshfixture
bendudson Jun 24, 2025
391b06b
CI: Switch to released fedora
dschwoerer Jun 24, 2025
1fa55d2
CI: require python3-boutuils
dschwoerer Jun 24, 2025
82a2ce0
Merge pull request #3134 from boutproject/fedora-latest
ZedThree Jun 24, 2025
81befc2
Revert "Merge pull request #3082 from boutproject/next-elimBE"
ZedThree Jun 24, 2025
ab0c53a
Merge pull request #3136 from boutproject/revert-eliminate-hypre-bcs
bendudson Jun 25, 2025
c6ad498
Handle absolute paths to options file
bendudson Jun 29, 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
90f7b03
Use std::filesystem::path for inputs
bendudson Jul 3, 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
f395056
Merge pull request #3142 from boutproject/options-path
ZedThree 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
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
b593a19
Fix more clang-tidy warnings
ZedThree Jul 18, 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
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
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
42440eb
Merge pull request #3145 from boutproject/fix-input-name-clash
ZedThree Aug 4, 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
c3217c6
Merge pull request #3159 from boutproject/snes-warn-nonsymmetric
bendudson Aug 15, 2025
98093fa
Merge branch 'next' into refactor-coordinates
tomchapman Aug 19, 2025
43ea84d
Merge remote-tracking branch 'remotes/boutproject/next' into refactor…
tomchapman Aug 19, 2025
246724f
Merge remote-tracking branch 'remotes/boutproject/next' into refactor…
tomchapman Aug 20, 2025
b1ac2b8
Merge branch 'next' into cylindrical-to-cartesian
tomchapman Aug 20, 2025
f19da93
Merge branch 'flexible-fakemeshfixture' into cylindrical-to-cartesian
tomchapman Aug 20, 2025
bd53030
Merge remote-tracking branch 'remotes/boutproject/next' into cylindri…
tomchapman Aug 20, 2025
b5bf1f4
Merge branch 'refactor-coordinates' into cylindrical-to-cartesian
tomchapman Aug 20, 2025
89c20ec
snakecase for function CylindricalCoordinatesToCartesian()
tomchapman Aug 20, 2025
b512667
Merge branch 'refactor-coordinates' into cylindrical-to-cartesian int…
tomchapman Aug 20, 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
3 changes: 2 additions & 1 deletion .ci_fedora.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ then
# Ignore weak depencies
echo "install_weak_deps=False" >> /etc/dnf/dnf.conf
echo "minrate=10M" >> /etc/dnf/dnf.conf
export FORCE_COLUMNS=200
time dnf -y install dnf5
time dnf5 -y install dnf5-plugins cmake python3-zoidberg python3-natsort
time dnf5 -y install dnf5-plugins cmake python3-zoidberg python3-natsort python3-boututils
# Allow to override packages - see #2073
time dnf5 copr enable -y davidsch/fixes4bout || :
time dnf5 -y upgrade
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:

- name: Run clang-format
id: format
run: git clang-format origin/${{ github.base_ref }}
run:
while ! git clang-format origin/${{ github.base_ref }} ; do git add . ; done

- name: Commit to the PR branch
uses: stefanzweifel/git-auto-commit-action@v5
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/clang-tidy-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@ jobs:
submodules: true

- name: Run clang-tidy
uses: ZedThree/clang-tidy-review@v0.19.0
uses: ZedThree/clang-tidy-review@v0.21.0
id: review
with:
annotations: true
build_dir: build
apt_packages: "libfftw3-dev,libnetcdf-c++4-dev,libopenmpi-dev,petsc-dev,slepc-dev,liblapack-dev,libparpack2-dev,libsundials-dev,uuid-dev"
config_file: ".clang-tidy"
Expand All @@ -48,4 +47,4 @@ jobs:
-DBOUT_UPDATE_GIT_SUBMODULE=OFF

- name: Upload clang-tidy fixes
uses: ZedThree/clang-tidy-review/upload@v0.19.0
uses: ZedThree/clang-tidy-review/upload@v0.21.0
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,8 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: true
- name: Build Fedora rawhide
run: ./.ci_fedora.sh setup openmpi rawhide
- name: Build Fedora
run: ./.ci_fedora.sh setup openmpi latest
shell: bash
env:
TRAVIS_BUILD_DIR: ${{ github.workspace }}
Expand Down
1 change: 1 addition & 0 deletions cmake/FindnetCDF.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ if (NOT netCDF_ROOT AND EXISTS "${BOUT_USE_NETCDF}")
set(netCDF_ROOT "${BOUT_USE_NETCDF}")
endif()

enable_language(C)
find_package(netCDF QUIET CONFIG)

if (netCDF_FOUND)
Expand Down
2 changes: 1 addition & 1 deletion cmake/SetupBOUTThirdParty.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ option(BOUT_DOWNLOAD_SUNDIALS "Download and build SUNDIALS" OFF)
cmake_dependent_option(BOUT_USE_SUNDIALS "Enable support for SUNDIALS time solvers" OFF
"NOT BOUT_DOWNLOAD_SUNDIALS" ON)
if (BOUT_USE_SUNDIALS)
enable_language(C)
if (BOUT_DOWNLOAD_SUNDIALS)
message(STATUS "Downloading and configuring SUNDIALS")
include(FetchContent)
Expand All @@ -293,7 +294,6 @@ if (BOUT_USE_SUNDIALS)
FetchContent_MakeAvailable(sundials)
message(STATUS "SUNDIALS done configuring")
else()
enable_language(C)
find_package(SUNDIALS REQUIRED)
if (SUNDIALS_VERSION VERSION_LESS 4.0.0)
message(FATAL_ERROR "SUNDIALS_VERSION 4.0.0 or newer is required. Found version ${SUNDIALS_VERSION}.")
Expand Down
Loading
Loading