Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update master #2121

Merged
merged 932 commits into from
Aug 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
932 commits
Select commit Hold shift + click to select a range
818c39b
only "coefficient" type outputs are averaged automatically
pcarruscag Jun 3, 2023
f4adad0
add time averages to incomp solver
pcarruscag Jun 3, 2023
bdd22c7
add time averages to incomp solver
pcarruscag Jun 3, 2023
8c151f3
Revert "add time averages to incomp solver"
pcarruscag Jun 3, 2023
4b58259
Merge remote-tracking branch 'upstream/develop' into fix_time_average…
pcarruscag Jun 3, 2023
30f1a46
Merge branch 'develop' into feature_3D_gust
pcarruscag Jun 3, 2023
c06c6ff
Merge pull request #2047 from su2code/fix_time_average_custom_outputs
pcarruscag Jun 4, 2023
498065d
Merge branch 'develop' into feature_3D_gust
ArneVoss Jun 5, 2023
c435309
Merge pull request #1954 from ArneVoss/feature_3D_gust
ArneVoss Jun 5, 2023
35389df
Add python interface for setting AoA and AoS (#2045)
kursatyurt Jun 7, 2023
772483b
Merge branch 'develop' into develop
kursatyurt Jun 7, 2023
979feff
Flamelet approach for premixed flames (#1917)
bigfooted Jun 7, 2023
0a0dc9e
First step in removing the unused code of the Split Velocity Method.
ArneVoss Jun 9, 2023
536def1
Corrections to SA-NEG-R and SA model (#2014)
rois1995 Jun 10, 2023
0089498
Merge branch 'develop' into develop
kursatyurt Jun 11, 2023
33ba418
Apply suggestions from code review
pcarruscag Jun 11, 2023
ac9d9ef
Merge branch 'develop' into removal_SplitVelocityMethod
pcarruscag Jun 11, 2023
6891b44
Merge pull request #2051 from ArneVoss/removal_SplitVelocityMethod
ArneVoss Jun 12, 2023
ddd855b
Pulled develop and updated submodules
EvertBunschoten Jun 13, 2023
c2b7d29
Pulled develop and updated submodules
EvertBunschoten Jun 13, 2023
b4320bc
Fixed build error
EvertBunschoten Jun 13, 2023
ddc918e
Implemented flexible look-up function for flamelet fluid model
EvertBunschoten Jun 19, 2023
883ddf3
Added config option on controlling variable and their sources names a…
EvertBunschoten Jun 20, 2023
96c64ce
Bug fixes
EvertBunschoten Jun 20, 2023
6e57517
Generalized output for flamelet solver depending on controlling varia…
EvertBunschoten Jun 23, 2023
c2f2a34
Removed extra zeros from initial species arrays
EvertBunschoten Jun 23, 2023
187c986
Added partially premixed methane test case files
EvertBunschoten Jun 23, 2023
bba0c8a
add new example, fix #2058
pcarruscag Jun 23, 2023
27821b1
Update TestCases/parallel_regression_AD.py
pcarruscag Jun 23, 2023
0911ef2
fix warnings
pcarruscag Jun 24, 2023
e7bc2d9
Add local timestep + CFL as volume output
j-signorelli Jun 24, 2023
5b1bc07
Added name to AUTHORS.md
j-signorelli Jun 24, 2023
e12db69
Merge pull request #2060 from j-signorelli/develop
pcarruscag Jun 25, 2023
0fc0d07
Merge pull request #2059 from su2code/py_wrapper_example
pcarruscag Jun 25, 2023
df7432d
fix inconsistency of 1994m and make 2003m the default
pcarruscag Jun 25, 2023
72ea846
remove old scripts
pcarruscag Jun 25, 2023
b9fc545
Fixed density model implementation for flamelet fluid model
EvertBunschoten Jun 26, 2023
11a45d9
Merge branch 'develop' into feature_new_flamelet
EvertBunschoten Jun 26, 2023
45a28cc
Updated regression values for partially premixed flamelet test case
EvertBunschoten Jun 26, 2023
c16189f
Merge remote-tracking branch 'upstream/develop' into remove_old_scripts
pcarruscag Jun 26, 2023
3db679b
Merge remote-tracking branch 'upstream/develop' into sst_consistency
pcarruscag Jun 26, 2023
c1d5151
Merge pull request #2061 from su2code/remove_old_scripts
pcarruscag Jun 26, 2023
c6f2c46
Implemented ideal gas approximation for data-driven fluid model, such…
EvertBunschoten Jun 27, 2023
2b709d9
Merge branch 'develop' of https://github.com/su2code/SU2 into feature…
EvertBunschoten Jun 27, 2023
51143a6
Fixed build error and updated submodule
EvertBunschoten Jun 27, 2023
a22e69e
Merge branch 'develop' of https://github.com/su2code/SU2 into feature…
EvertBunschoten Jun 29, 2023
64937e8
Merge remote-tracking branch 'upstream/develop' into sst_consistency
pcarruscag Jul 1, 2023
ecb9e85
update v&v, fix logic for default
pcarruscag Jul 1, 2023
301a6df
update tutorials
pcarruscag Jul 1, 2023
4ddc47f
parallel regression wo restarts
pcarruscag Jul 1, 2023
28785b5
serial regression without restarts
pcarruscag Jul 1, 2023
44c9312
hybrid
pcarruscag Jul 1, 2023
d500358
Update TestCases/hybrid_regression.py
pcarruscag Jul 1, 2023
2756e05
update parallel restarts
pcarruscag Jul 2, 2023
46b42e3
drop QuickStart subdirectory
frx-wintermute Jul 2, 2023
fbeabbc
more updates
pcarruscag Jul 2, 2023
c5e23e3
begin disc adj updates
pcarruscag Jul 2, 2023
a64499b
more updates
pcarruscag Jul 3, 2023
c75a3aa
final update
pcarruscag Jul 3, 2023
b860fd1
Fixed communication between species and heat solver for CHT simulations
EvertBunschoten Jul 3, 2023
13a3b31
Update container image versions.
jblueh Jul 3, 2023
73ce89b
Updated data-driven fluid test case
EvertBunschoten Jul 3, 2023
9e9f1a2
Merge pull request #2062 from su2code/sst_consistency
pcarruscag Jul 3, 2023
b27849f
Updated data-driven fluid regression test
EvertBunschoten Jul 3, 2023
b504e20
Merge branch 'develop' of https://github.com/su2code/SU2 into feature…
EvertBunschoten Jul 3, 2023
5a9354d
Merge branch 'develop' into feature_multilayer_perceptron
EvertBunschoten Jul 3, 2023
4066516
Merge branch 'feature_multilayer_perceptron' of https://github.com/su…
EvertBunschoten Jul 3, 2023
b99c2a4
Merge branch 'develop' into feature_tsan_ci
jblueh Jul 3, 2023
f946c26
Specify container images as part of the job matrix.
jblueh Jul 3, 2023
f578d93
Revert "Specify container images as part of the job matrix."
jblueh Jul 3, 2023
5da06cc
Add separate job for tsan builds.
jblueh Jul 3, 2023
43b1035
No tsan builds on ARM64 for now.
jblueh Jul 3, 2023
f936984
Use non-ambiguous names.
jblueh Jul 3, 2023
bd44854
Removed conjugate heat variables from speciesFlameletSolver as they'r…
EvertBunschoten Jul 4, 2023
7708678
Merge branch 'develop' of https://github.com/su2code/SU2 into bug_fix…
EvertBunschoten Jul 4, 2023
15ebb3b
Introduce --tsan argument for hybrid regression tests.
jblueh Jul 4, 2023
3fc49d5
Prepare python scripts for thread-sanitzer tests.
jblueh Jul 4, 2023
48b094a
Implemented compatibility check for flamelet + weakly coupled heat
EvertBunschoten Jul 4, 2023
2a0fd69
Updated regression values for data-driven fluid test case
EvertBunschoten Jul 4, 2023
780fb2d
Update container image versions.
jblueh Jul 4, 2023
ae3d799
Define variables outside the if block.
jblueh Jul 4, 2023
f192be1
Add thread sanitizer tests to the workflow.
jblueh Jul 5, 2023
1a519cc
Fix dependency.
jblueh Jul 5, 2023
955be02
Skip thread sanitizer tests on ARM64 for now.
jblueh Jul 5, 2023
177e889
Add --tsan parameter.
jblueh Jul 5, 2023
e0a6351
Exclude pywrapper tests from tsan testing.
jblueh Jul 5, 2023
1e6e9d4
Disable hybrid AD tsan tests that take too long.
jblueh Jul 5, 2023
f95fadd
Exclude further pywrapper tests.
jblueh Jul 5, 2023
a981cac
Disable hybrid tsan tests that take too long.
jblueh Jul 5, 2023
418576d
Merge branch 'develop' of https://github.com/su2code/SU2 into bug_fix…
EvertBunschoten Jul 6, 2023
e0126ef
Merge branch 'develop' of https://github.com/su2code/SU2 into feature…
EvertBunschoten Jul 6, 2023
13307f0
Disable transonic_stator as well.
jblueh Jul 6, 2023
5e7b9b7
Merge branch 'develop' into feature_tsan_ci
jblueh Jul 6, 2023
4b60792
Pulled develop and implemented changes according to the introduction …
EvertBunschoten Jul 6, 2023
cd79110
chmod +x SU2_PY/fsi_computation.py
dcjud Jul 6, 2023
85b5e1a
Disabled multizone flag for adjoint flamelet test case 02
EvertBunschoten Jul 6, 2023
acf37bb
Deliberately introduce a data race for testing.
jblueh Jul 6, 2023
8510417
Silence warning.
jblueh Jul 6, 2023
37e6bc1
Silence more warnings.
jblueh Jul 6, 2023
bcbf7b0
Merge branch 'develop' into master
pcarruscag Jul 6, 2023
96baee2
Update .github/workflows/regression.yml
pcarruscag Jul 6, 2023
a24c731
Merge pull request #2067 from su2code/bug_fix_cht_flamelet_solver
pcarruscag Jul 6, 2023
46e23e9
Merge pull request #2072 from dcjud/master
pcarruscag Jul 6, 2023
96ad0bb
Use tsan with debug builds.
jblueh Jul 7, 2023
dcaa3b6
Disable ForwardOMP-tsan since it is not used right now.
jblueh Jul 7, 2023
7eea769
Work around segfault.
jblueh Jul 7, 2023
188b49a
Merge branch 'develop' into feature_tsan_ci
jblueh Jul 7, 2023
bfce8b5
Fix.
jblueh Jul 7, 2023
d41a860
Don't treat warnings as errors for now.
jblueh Jul 7, 2023
8dba8a6
Remove deliberate data race.
jblueh Jul 7, 2023
8163706
Use optimized debug builds.
jblueh Jul 7, 2023
f649eb9
update v&v
pcarruscag Jul 8, 2023
33303eb
tutorials
pcarruscag Jul 8, 2023
7a5cff4
parallel
pcarruscag Jul 8, 2023
1e24450
parallel AD
pcarruscag Jul 8, 2023
883052a
serial
pcarruscag Jul 8, 2023
f67138d
serial AD
pcarruscag Jul 8, 2023
959338e
hybrid
pcarruscag Jul 8, 2023
2c0e77c
hybrid AD
pcarruscag Jul 9, 2023
aa086b0
Apply suggestions from code review
pcarruscag Jul 9, 2023
11d044e
Merge pull request #2073 from su2code/update_arm64
pcarruscag Jul 9, 2023
137db95
more updates and fix a race condition
pcarruscag Jul 9, 2023
db21a33
Merge pull request #2076 from su2code/update_arm64
pcarruscag Jul 9, 2023
09af920
Merge branch 'develop' of https://github.com/su2code/SU2 into feature…
EvertBunschoten Jul 10, 2023
f06a880
Added MLP interpolation option for flamelet fluid model
EvertBunschoten Jul 10, 2023
7dfc9c2
Add Velocity Output To CFlowCompOutput.cpp
MastermindScope Jul 10, 2023
a28146a
Merge branch 'develop' into feature_tsan_ci
jblueh Jul 10, 2023
6241f69
Thread sanitizer builds don't need the python wrapper.
jblueh Jul 10, 2023
9615189
Add Velocity Volume Output To CFlowCompOutput.cpp
MastermindScope Jul 11, 2023
b5636c4
Added Velocity Output To CNEMOCompOutput.cpp
MastermindScope Jul 11, 2023
cd58b68
Fixed spelling in description
MastermindScope Jul 11, 2023
ced15ae
Added my name to AUTHORS.md
MastermindScope Jul 11, 2023
37d0954
Update SU2_CFD/src/output/CNEMOCompOutput.cpp
pcarruscag Jul 11, 2023
a459e25
Merge branch 'develop' into patch-1
pcarruscag Jul 11, 2023
03623bb
Added SetVolumeOutputValue for Velocity to CFlowCompOutput.cpp
MastermindScope Jul 11, 2023
d0b7922
Add SetVolumeOutputValue for velocity to CNEMOCompOutput.cpp
MastermindScope Jul 11, 2023
0b01500
restore QuickStart subdirectory
frx-wintermute Jul 11, 2023
aeafb37
Nondimensionalize Python custom HFs correctly
j-signorelli Jul 12, 2023
84f9227
Nondimensionalize Python custom temperatures correctly
j-signorelli Jul 12, 2023
3fa5caa
Move if out of parallel region.
jblueh Jul 13, 2023
8802c66
Different loop schedule to fix suspected false positives.
jblueh Jul 13, 2023
4366d5c
Formatting.
jblueh Jul 13, 2023
1df0ea1
Work around syntax check.
jblueh Jul 13, 2023
1835a84
Formatting.
jblueh Jul 13, 2023
194c249
Fixed bug for density calculation when using ideal gas approximation …
EvertBunschoten Jul 14, 2023
614d076
fix table lookup bug
bigfooted Jul 15, 2023
2be7f2d
Merge branch 'feature_new_flamelet' of https://github.com/su2code/su2…
bigfooted Jul 15, 2023
53fcfc3
Merge pull request #2066 from frx-wintermute/delete_quickstart_subdir
pcarruscag Jul 15, 2023
e200d8d
remove unimplemented TWIST_2D
pcarruscag Jul 15, 2023
6510561
Merge remote-tracking branch 'upstream/develop' into remove_twist_2d
pcarruscag Jul 15, 2023
0b74435
Merge branch 'develop' into feature_new_flamelet
bigfooted Jul 16, 2023
20cc4ce
Merge pull request #2081 from su2code/remove_twist_2d
pcarruscag Jul 16, 2023
81e10b8
fix time output and some formating
pcarruscag Jul 17, 2023
15279ad
Merge branch 'feature_new_flamelet' of https://github.com/su2code/SU2…
EvertBunschoten Jul 17, 2023
a31b800
Update CFlowCompOutput.cpp with suggestions from EvertBunschoten
MastermindScope Jul 17, 2023
6c156e2
Update CNEMOCompOutput.cpp with suggestions from EvertBunschoten and …
MastermindScope Jul 17, 2023
9ef63ef
Address compiler warning.
jblueh Jul 17, 2023
f52ba05
Merge branch 'develop' into feature_tsan_ci
jblueh Jul 17, 2023
212ffdc
Implemented reviewer comments
EvertBunschoten Jul 17, 2023
d0a77f2
Merge branch 'develop' into feature_new_flamelet
EvertBunschoten Jul 17, 2023
dffa192
Implemented comments from reviewers
EvertBunschoten Jul 17, 2023
6d965b9
Introduce a thread-sanitizer dependent loop macro.
jblueh Jul 17, 2023
9facc26
Default to two iterations with the thread sanitizer.
jblueh Jul 17, 2023
063ddf2
Ensure that the number of iterations does not increase.
jblueh Jul 17, 2023
abc6ea3
cannot have extra ; so disable clang-format in section
pcarruscag Jul 17, 2023
b3e4bdd
Update CFlowCompOutput.cpp to reflect pcarruscag's suggestions
MastermindScope Jul 17, 2023
88f474f
Regard restart iter.
jblueh Jul 17, 2023
eca634b
Revise the header file path
lcheng9 Jul 18, 2023
bfac7cf
Merge branch 'develop' into patch-1
pcarruscag Jul 18, 2023
c6931d7
Update container image in release action.
jblueh Jul 18, 2023
a7df296
Merge pull request #2084 from lcheng9/patch-1
pcarruscag Jul 18, 2023
b9a7777
Merge branch 'develop' into feature_tsan_ci
jblueh Jul 18, 2023
8f5d770
Merge pull request #2068 from su2code/feature_tsan_ci
pcarruscag Jul 18, 2023
3ddd27a
OpDiLib update.
jblueh Jul 19, 2023
c14d312
Merge branch 'develop' of https://github.com/su2code/SU2 into feature…
EvertBunschoten Jul 20, 2023
d2f81f4
Update bounds checking parameters.
jblueh Jul 20, 2023
5f8887f
Moved enthalpy pointer in GetEnthFromTemp function
EvertBunschoten Jul 21, 2023
0bb922d
Updated regression values for partially premixed flamelet test case d…
EvertBunschoten Jul 21, 2023
74b893a
Updated test case branch for regression tests
EvertBunschoten Jul 21, 2023
02da4b6
Merge pull request #2057 from su2code/feature_new_flamelet
EvertBunschoten Jul 21, 2023
1ee3f82
Merge branch 'develop' into fix_mz_adjoint_wall_time
bigfooted Jul 22, 2023
f3de6e5
fix race condition to access Hsbg
pcarruscag Jul 23, 2023
a37a609
Merge branch 'fix_mz_adjoint_wall_time' of https://github.com/su2code…
pcarruscag Jul 23, 2023
19e200e
avoid some weirdness with "parallel if"
pcarruscag Jul 24, 2023
0699292
Merge pull request #2083 from su2code/fix_mz_adjoint_wall_time
pcarruscag Jul 24, 2023
f4feba9
Update bounds checking parameters.
jblueh Jul 25, 2023
dfd656e
use the "real" current coordinates to compute surface rotations
pcarruscag Jul 25, 2023
542bf07
update test
pcarruscag Jul 25, 2023
8f92f77
Merge branch 'develop' into preacc_performance
jblueh Jul 26, 2023
a9a7ad8
Update CoDiPack version.
jblueh Jul 26, 2023
7d0cd31
Merge pull request #2090 from su2code/fix_surface_motion
pcarruscag Jul 26, 2023
53563d9
Merge pull request #2092 from su2code/preacc_performance
pcarruscag Jul 26, 2023
0fccdc1
Address meson deprecation warnings.
jblueh Jul 27, 2023
d343c40
Fix MLPCpp output and ninja path.
jblueh Jul 27, 2023
8105a75
Merge pull request #2093 from su2code/fix_meson_issues
pcarruscag Jul 28, 2023
c3444c8
Merge pull request #2078 from j-signorelli/develop
pcarruscag Jul 30, 2023
fa70e1a
add custom temp and hf to inc ns solver and fix failing test
pcarruscag Jul 30, 2023
f679db1
fix the python case
pcarruscag Jul 30, 2023
efe8a67
Merge pull request #2096 from su2code/custom_temperature_inc_solver
pcarruscag Jul 30, 2023
659ef3f
Merge branch 'develop' into develop
kursatyurt Jul 30, 2023
e53937c
added cstdint header to printing_toolbox.hpp
JanRotti Aug 1, 2023
616dcd8
Merge branch 'develop' into feature_python_dro
pcarruscag Aug 1, 2023
374a385
Added files for vandv case sandia jet for test cases
Aug 3, 2023
54afe71
Merge pull request #2099 from JanRotti/feature_python_dro
pcarruscag Aug 4, 2023
6e0db0d
Update .github/workflows/regression.yml
pcarruscag Aug 4, 2023
72230f9
Update TestCases/vandv.py
pcarruscag Aug 4, 2023
9587175
Merge branch 'develop' into feature_validation_sandia_jet
Cristopher-Morales Aug 4, 2023
7bdc705
Merge pull request #2100 from sjhbtue/feature_validation_sandia_jet
pcarruscag Aug 6, 2023
f26b292
rename testcase config
pcarruscag Aug 6, 2023
f75045c
fix some version numbers
pcarruscag Aug 6, 2023
edccf5c
update change_version_number to not break config headers
pcarruscag Aug 6, 2023
77a972e
cleanup some SU2 header priting code
pcarruscag Aug 6, 2023
241acfe
fix some headers
pcarruscag Aug 6, 2023
e29988c
one more fix
pcarruscag Aug 6, 2023
bd56f5b
Apply suggestions from code review
pcarruscag Aug 6, 2023
0758281
fix warning
pcarruscag Aug 6, 2023
2f37e98
Merge pull request #2102 from su2code/prepare_for_v8
pcarruscag Aug 7, 2023
aca53d5
Merge pull request #2077 from MastermindScope/patch-1
pcarruscag Aug 7, 2023
3278ea9
PR comments
pcarruscag Aug 7, 2023
d0ac499
Merge branch 'develop' into develop
pcarruscag Aug 7, 2023
5d282b0
Merge remote-tracking branch 'upstream/develop' into feature_update_mpp
pcarruscag Aug 7, 2023
be559bc
Update .github/workflows/regression.yml
pcarruscag Aug 7, 2023
3e30b1c
try to make mutation accesible in test scripts
pcarruscag Aug 8, 2023
dc55d1e
use python to copy mutation data
pcarruscag Aug 12, 2023
931f367
Merge pull request #2019 from afshawnlotfi/develop
pcarruscag Aug 13, 2023
d111f40
remove env vars set in regression script
pcarruscag Aug 13, 2023
c2c208b
update docker images
pcarruscag Aug 13, 2023
510ded2
capture mpp files
pcarruscag Aug 13, 2023
c950015
fix
pcarruscag Aug 13, 2023
a0b4185
Clarify and extend tape choices.
jblueh Aug 14, 2023
785a362
CoDiPack update.
jblueh Aug 15, 2023
fb02214
Add warning.
jblueh Aug 16, 2023
da0c951
Merge pull request #2107 from su2code/codipack_tape_options
jblueh Aug 16, 2023
f5160b2
go back to current version of mpp for now
pcarruscag Aug 20, 2023
68cdd8d
Merge remote-tracking branch 'upstream/develop' into feature_update_mpp
pcarruscag Aug 20, 2023
b7c1577
Merge pull request #1935 from su2code/feature_update_mpp
pcarruscag Aug 20, 2023
deb7027
Explicit adjoint vector resizing.
jblueh Aug 22, 2023
d3184c3
Update non-AD version of AD::RegisterInput.
jblueh Aug 22, 2023
894770e
Fix format range.
jblueh Aug 22, 2023
682664a
Update comment.
jblueh Aug 22, 2023
784f703
fix build with mutation++ on Arm architectures
pcarruscag Aug 22, 2023
1a1693d
Merge pull request #2113 from su2code/fix_mpp_arm
pcarruscag Aug 22, 2023
1ea6f40
Merge branch 'develop' into ad_fixes
jblueh Aug 23, 2023
9c7034f
Enable CoDiPack assertions in debug builds.
jblueh Aug 23, 2023
510b4bb
Fix format range, error instead of message.
jblueh Aug 23, 2023
1d2dcb2
CoDiPack update.
jblueh Aug 23, 2023
b00b87b
Merge pull request #2112 from su2code/ad_fixes
jblueh Aug 24, 2023
c5e97f8
Multizone py wrapper example (FSI) (#2111)
pcarruscag Aug 24, 2023
e7d88da
Changing version number to 8.0.0
actions-user Aug 29, 2023
1fe5981
Merge pull request #2120 from su2code/release_v8.0.0
pcarruscag Aug 29, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ BasedOnStyle: Google
PointerAlignment: Left
DerivePointerAlignment: false
ColumnLimit: 120
SortIncludes: Never
5 changes: 5 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Checks: '-*,modernize-avoid-bind,modernize-deprecated-headers,modernize-deprecated-ios-base-aliases,modernize-macro-to-enum,modernize-pass-by-value,modernize-raw-string-literal,modernize-redundant-void-arg,modernize-replace-auto-ptr,modernize-replace-disallow-copy-and-assign-macro,modernize-replace-random-shuffle,modernize-return-braced-init-list,modernize-shrink-to-fit,modernize-unary-static-assert,modernize-use-auto,modernize-use-bool-literals,modernize-use-default-member-init,modernize-use-emplace,modernize-use-equals-default,modernize-use-equals-delete,modernize-use-noexcept,modernize-use-nullptr,modernize-use-override,modernize-use-transparent-functors,modernize-use-using,readability-const-return-type,readability-avoid-const-params-in-decls,readability-container-data-pointer,readability-container-size-empty,readability-delete-null-pointer,readability-duplicate-include,readability-non-const-parameter,readability-redundant-access-specifiers,readability-redundant-control-flow,readability-redundant-declaration,readability-redundant-function-ptr-dereference,readability-redundant-smartptr-get,readability-redundant-string-cstr,readability-redundant-string-init,readability-simplify-boolean-expr,readability-simplify-subscript-expr,readability-else-after-return,performance-*'
CheckOptions:
- {key: modernize-use-override.AllowOverrideAndFinal, value: 'true'}
- {key: performance-unnecessary-copy-initialization.AllowedTypes, value: 'su2double'}
- {key: performance-unnecessary-value-param.AllowedTypes, value: 'su2double'}
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,3 @@ assignees: ''
- C++ compiler and version: [e.g., g++ (GCC) 4.8.5]
- MPI implementation and version: [e.g., OpenMPI 3.0.0]
- SU2 Version: [e.g., v6.2.0]

3 changes: 2 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Proposed Changes
*Give a brief overview of your contribution here in a few sentences.*



## Related Work
Expand All @@ -14,5 +14,6 @@
- [ ] I am submitting my contribution to the develop branch.
- [ ] My contribution generates no new compiler warnings (try with --warnlevel=3 when using meson).
- [ ] My contribution is commented and consistent with SU2 style (https://su2code.github.io/docs_v7/Style-Guide/).
- [ ] I used the pre-commit hook to prevent dirty commits and used `pre-commit run --all` to format old commits.
- [ ] I have added a test case that demonstrates my contribution, if necessary.
- [ ] I have updated appropriate documentation (Tutorials, Docs Page, config_template.cpp), if necessary.
1 change: 0 additions & 1 deletion .github/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ changelog:
- title: 'Other Changes'
labels:
- "*"

2 changes: 1 addition & 1 deletion .github/workflows/change-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
id: extract_branch
- name: Change the version number
run: |
SU2_PY/change_version_number.py -v ${GITHUB_REF##*/release_v} -r Blackbird -y
SU2_PY/change_version_number.py -v ${GITHUB_REF##*/release_v} -r Harrier -y
- name: Commit files
run: |
git config --local user.email "action@github.com"
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/code-style.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Code Style
on:
pull_request:
paths:
- "**.[ch]pp"
- "**.[ch]"
- "**.cfg"
- "**.py"

jobs:
formatting:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: '3.10'
check-latest: true
- name: Install pre-commit
run: pip install pre-commit
- name: Run checks
run: pre-commit run -a -v
- name: Git status
if: always()
run: git status
- name: Full diff
if: always()
run: git diff
121 changes: 105 additions & 16 deletions .github/workflows/regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,23 @@ jobs:
config_set: [BaseMPI, ReverseMPI, ForwardMPI, BaseNoMPI, ReverseNoMPI, ForwardNoMPI, BaseOMP, ReverseOMP, ForwardOMP]
include:
- config_set: BaseMPI
flags: '-Denable-pywrapper=true -Denable-coolprop=true -Denable-tests=true --warnlevel=2 --werror'
flags: '-Denable-pywrapper=true -Denable-coolprop=true -Denable-mpp=true -Dinstall-mpp=true -Denable-mlpcpp=true -Denable-tests=true --warnlevel=2'
- config_set: ReverseMPI
flags: '-Denable-autodiff=true -Denable-normal=false -Denable-pywrapper=true -Denable-tests=true --warnlevel=3 --werror'
- config_set: ForwardMPI
flags: '-Denable-directdiff=true -Denable-normal=false -Denable-tests=true --warnlevel=3 --werror'
- config_set: BaseNoMPI
flags: '-Denable-pywrapper=true -Denable-openblas=true -Dwith-mpi=disabled -Denable-tests=true --warnlevel=3 --werror'
flags: '-Denable-pywrapper=true -Denable-openblas=true -Dwith-mpi=disabled -Denable-mlpcpp=true -Denable-tests=true --warnlevel=3 --werror'
- config_set: ReverseNoMPI
flags: '-Denable-autodiff=true -Denable-normal=false -Dwith-mpi=disabled -Denable-pywrapper=true -Denable-tests=true --warnlevel=3 --werror'
- config_set: ForwardNoMPI
flags: '-Denable-directdiff=true -Denable-normal=false -Dwith-mpi=disabled -Denable-tests=true --warnlevel=3 --werror'
- config_set: BaseOMP
flags: '-Dwith-omp=true -Denable-mixedprec=true -Denable-pywrapper=true -Denable-tecio=false --warnlevel=3 --werror'
- config_set: ReverseOMP
flags: '-Denable-autodiff=true -Denable-normal=false -Dwith-omp=true -Denable-mixedprec=true -Denable-tecio=false --warnlevel=3 --werror'
flags: '-Denable-autodiff=true -Denable-normal=false -Dwith-omp=true -Denable-mixedprec=true -Denable-pywrapper=true -Denable-tecio=false --warnlevel=3 --werror'
- config_set: ForwardOMP
flags: '-Denable-directdiff=true -Denable-normal=false -Dwith-omp=true -Denable-mixedprec=true -Denable-tecio=false --warnlevel=3 --werror'
flags: '-Denable-directdiff=true -Denable-normal=false -Dwith-omp=true -Denable-mixedprec=true -Denable-pywrapper=true -Denable-tecio=false --warnlevel=3 --werror'
runs-on: ${{ inputs.runner || 'ubuntu-latest' }}
steps:
- name: Cache Object Files
Expand All @@ -52,23 +52,66 @@ jobs:
key: ${{ matrix.config_set }}-${{ github.sha }}
restore-keys: ${{ matrix.config_set }}
- name: Pre Cleanup
uses: docker://ghcr.io/su2code/su2/build-su2:221224-1158
uses: docker://ghcr.io/su2code/su2/build-su2:230813-0103
with:
entrypoint: /bin/rm
args: -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
- name: Build
uses: docker://ghcr.io/su2code/su2/build-su2:221224-1158
uses: docker://ghcr.io/su2code/su2/build-su2:230813-0103
with:
args: -b ${{github.ref}} -f "${{matrix.flags}}"
- name: Compress binaries
run: tar -zcvf install_bin.tgz install/bin
run: tar -zcvf install_bin.tgz install/*
- name: Upload Binaries
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.config_set }}
path: install_bin.tgz
- name: Post Cleanup
uses: docker://ghcr.io/su2code/su2/build-su2:221224-1158
uses: docker://ghcr.io/su2code/su2/build-su2:230813-0103
with:
entrypoint: /bin/rm
args: -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
build_tsan:
name: Build SU2 (tsan)
if: inputs.runner != 'ARM64'
strategy:
fail-fast: false
matrix:
config_set: [BaseOMP-tsan, ReverseOMP-tsan] #ForwardOMP-tsan
include:
- config_set: BaseOMP-tsan
flags: '--buildtype=debugoptimized -Dwith-omp=true -Denable-mixedprec=true -Denable-tecio=false --warnlevel=3'
- config_set: ReverseOMP-tsan
flags: '--buildtype=debugoptimized -Denable-autodiff=true -Denable-normal=false -Dwith-omp=true -Denable-mixedprec=true -Denable-tecio=false --warnlevel=3'
#- config_set: ForwardOMP-tsan
# flags: '--buildtype=debug -Denable-directdiff=true -Denable-normal=false -Dwith-omp=true -Denable-mixedprec=true -Denable-pywrapper=true -Denable-tecio=false --warnlevel=3 --werror'
runs-on: ${{ inputs.runner || 'ubuntu-latest' }}
steps:
- name: Cache Object Files
uses: actions/cache@v3
with:
path: ccache
key: ${{ matrix.config_set }}-${{ github.sha }}
restore-keys: ${{ matrix.config_set }}
- name: Pre Cleanup
uses: docker://ghcr.io/su2code/su2/build-su2-tsan:230813-0103
with:
entrypoint: /bin/rm
args: -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
- name: Build
uses: docker://ghcr.io/su2code/su2/build-su2-tsan:230813-0103
with:
args: -b ${{github.ref}} -f "${{matrix.flags}}"
- name: Compress binaries
run: tar -zcvf install_bin.tgz install/*
- name: Upload Binaries
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.config_set }}
path: install_bin.tgz
- name: Post Cleanup
uses: docker://ghcr.io/su2code/su2/build-su2-tsan:230813-0103
with:
entrypoint: /bin/rm
args: -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
Expand Down Expand Up @@ -99,7 +142,7 @@ jobs:
tag: OMP
steps:
- name: Pre Cleanup
uses: docker://ghcr.io/su2code/su2/test-su2:221224-1158
uses: docker://ghcr.io/su2code/su2/test-su2:230813-0103
with:
entrypoint: /bin/rm
args: -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
Expand All @@ -118,19 +161,65 @@ jobs:
ls -lah
tar -zxvf install_bin.tgz
ls -lah install/bin/
cp -r install/bin/* $BIN_FOLDER;
cp -r install/* $BIN_FOLDER/../
popd;
fi
done
chmod a+x $BIN_FOLDER/*
ls -lahR $BIN_FOLDER
- name: Run Tests in Container
uses: docker://ghcr.io/su2code/su2/test-su2:221224-1158
uses: docker://ghcr.io/su2code/su2/test-su2:230813-0103
with:
# -t <Tutorials-branch> -c <Testcases-branch>
args: -b ${{github.ref}} -t develop -c develop -s ${{matrix.testscript}}
- name: Cleanup
uses: docker://ghcr.io/su2code/su2/test-su2:221224-1158
uses: docker://ghcr.io/su2code/su2/test-su2:230813-0103
with:
entrypoint: /bin/rm
args: -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
thread_sanitizer_tests:
if: inputs.runner != 'ARM64'
runs-on: ${{ inputs.runner || 'ubuntu-latest' }}
name: Thread Sanitizer Tests
needs: build_tsan
strategy:
fail-fast: false
matrix:
testscript: ['hybrid_regression.py', 'hybrid_regression_AD.py']
steps:
- name: Pre Cleanup
uses: docker://ghcr.io/su2code/su2/test-su2-tsan:230813-0103
with:
entrypoint: /bin/rm
args: -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
- name: Download All artifacts
uses: actions/download-artifact@v3
- name: Uncompress and Move Binaries
run: |
BIN_FOLDER="$PWD/install/bin"
mkdir -p $BIN_FOLDER
ls -lah $BIN_FOLDER
for type in Base Reverse Forward; do
TYPE_FOLDER="${type}OMP-tsan"
echo "Processing '$TYPE_FOLDER' ..."
if [ -d $TYPE_FOLDER ]; then
pushd $TYPE_FOLDER
ls -lah
tar -zxvf install_bin.tgz
ls -lah install/bin/
cp -r install/* $BIN_FOLDER/../
popd;
fi
done
chmod a+x $BIN_FOLDER/*
ls -lahR $BIN_FOLDER
- name: Run Tests in Container
uses: docker://ghcr.io/su2code/su2/test-su2-tsan:230813-0103
with:
# -t <Tutorials-branch> -c <Testcases-branch>
args: -b ${{github.ref}} -t develop -c develop -s ${{matrix.testscript}} -a "--tsan"
- name: Cleanup
uses: docker://ghcr.io/su2code/su2/test-su2-tsan:230813-0103
with:
entrypoint: /bin/rm
args: -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
Expand All @@ -151,7 +240,7 @@ jobs:
tag: MPI
steps:
- name: Pre Cleanup
uses: docker://ghcr.io/su2code/su2/test-su2:221224-1158
uses: docker://ghcr.io/su2code/su2/test-su2:230813-0103
with:
entrypoint: /bin/rm
args: -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
Expand Down Expand Up @@ -184,7 +273,7 @@ jobs:
ls -lah
tar -zxvf install_bin.tgz
ls -laH install/bin/
cp -r install/bin/* $BIN_FOLDER;
cp -r install/* $BIN_FOLDER/../
popd;
else
echo "$TYPE_FOLDER does not exist!"
Expand Down Expand Up @@ -212,11 +301,11 @@ jobs:
echo $PWD
ls -lahR
- name: Run Unit Tests
uses: docker://ghcr.io/su2code/su2/test-su2:221224-1158
uses: docker://ghcr.io/su2code/su2/test-su2:230813-0103
with:
entrypoint: install/bin/${{matrix.testdriver}}
- name: Post Cleanup
uses: docker://ghcr.io/su2code/su2/test-su2:221224-1158
uses: docker://ghcr.io/su2code/su2/test-su2:230813-0103
with:
entrypoint: /bin/rm
args: -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
3 changes: 1 addition & 2 deletions .github/workflows/release-management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
key: ${{ matrix.os_bin }}-${{ github.sha }}
restore-keys: ${{ matrix.os_bin }}
- name: Build
uses: docker://ghcr.io/su2code/su2/build-su2-cross:221224-1158
uses: docker://ghcr.io/su2code/su2/build-su2-cross:230813-0103
with:
args: -b ${{ github.sha }} -f "${{matrix.flags}}"
- name: Create Archive
Expand Down Expand Up @@ -65,4 +65,3 @@ jobs:
asset_path: ${{matrix.os_bin}}.zip
asset_name: SU2-${{ steps.update_release.outputs.tagname }}-${{matrix.os_bin}}.zip
asset_content_type: application/zip

13 changes: 13 additions & 0 deletions .github/workflows/require-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Pull Request Labels
on:
pull_request:
types: [opened, labeled, unlabeled, synchronize]
jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: mheap/github-action-required-labels@v3
with:
mode: exactly
count: 1
labels: "changelog:feature, changelog:fix, changelog:chore"
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,9 @@ ninja

# Ignore vscode folder
.vscode/

# Ignore SU2 pre-configuration timestamp created by preconfigure.py
su2preconfig.timestamp

# Clangd server files
.cache
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@
[submodule "externals/mel"]
path = externals/mel
url = https://github.com/pcarruscag/MEL.git
[submodule "subprojects/MLPCpp"]
path = subprojects/MLPCpp
url = https://github.com/EvertBunschoten/MLPCpp.git
19 changes: 0 additions & 19 deletions .lgtm.yml

This file was deleted.

6 changes: 6 additions & 0 deletions .pep8
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[pycodestyle]
max_line_length = 120
ignore = E402
in-place = true
aggressive = 2
recursive = true
Loading
Loading