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

Implemented the building of congruent and embedded meshes from netCDF input data #1249

Draft
wants to merge 983 commits into
base: feature-netcdf_geospatial_data_build_mesh
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
983 commits
Select commit Hold shift + click to select a range
04bcf77
Merge branch 'main' into fortran-c_file
chiaraMaHe Jul 29, 2024
f288f98
Merge pull request #1149 from DLR-AMR/fortran-c_file
Niklas997 Jul 29, 2024
40aad2c
Merge branch 'main' into fix-warnings
dutkalex Jul 29, 2024
225aa0d
Merge branch 'main' into enhancement-use_clang_format_line_ending
maelk3 Jul 31, 2024
0e2cfb5
Merge pull request #1183 from DLR-AMR/enhancement-use_clang_format_li…
jmark Aug 1, 2024
a5a90fa
Merge branch 'main' into fix-cmesh-spherical-shell-examples
jmark Aug 1, 2024
62128c7
Update src/t8_geometry/t8_geometry_implementations/t8_geometry_exampl…
jmark Aug 1, 2024
3b294c5
Adding triangulated spherical surface cubed version.
Aug 2, 2024
e9c8cba
Merge pull request #1180 from DLR-AMR/fix-cmesh-spherical-shell-examples
jmark Aug 2, 2024
bec867a
Merge branch 'main' into fix-correction-trafo-spherical-shell
Aug 2, 2024
d92ec73
Code cleanup.
Aug 2, 2024
8f130e8
Applied formatter.
Aug 2, 2024
7a38c35
Updated header file documentation.
Aug 5, 2024
3488680
Merge pull request #1164 from DLR-AMR/fix-1163_rename_T8_GHOST_FIRST_ATT
holke Aug 6, 2024
08532b3
Add first triangular interpolation test
holke Aug 6, 2024
3bb57bd
Add comments
holke Aug 6, 2024
b807629
Fix comment of t8_geom_linear_interpolation
holke Aug 6, 2024
4412c71
Add 3D test case
holke Aug 6, 2024
0248b4a
Merge pull request #1188 from DLR-AMR/fix-triangular_interpolation_do…
sandro-elsweijer Aug 6, 2024
3be2a46
Merge branch 'main' into add-non_api_writer_to_class
Davknapp Aug 7, 2024
7545c12
indent files
Davknapp Aug 7, 2024
52ae546
clean up after merge
Davknapp Aug 7, 2024
73b67ff
More static
Davknapp Aug 7, 2024
d7dae9b
Rename file and adapt includes to the new filename
Davknapp Aug 7, 2024
2776ef6
Move code to the c++ part
Davknapp Aug 7, 2024
9af55da
adapt CI to changes in docker container
sandro-elsweijer Aug 7, 2024
2cac782
adapt makefile and add comments
Davknapp Aug 7, 2024
43abd3b
add dimension assertions to interpolation functions
holke Aug 7, 2024
521b7ad
Add comment about temp variable
holke Aug 7, 2024
e1500ee
use true-false instead of 0-1 logic in implementation
Davknapp Aug 7, 2024
a9cf678
fix a typo in ci
sandro-elsweijer Aug 7, 2024
5642c2b
revert linkage CI to state of one moth ago
sandro-elsweijer Aug 7, 2024
5890993
Merge pull request #1189 from DLR-AMR/fix-CI_changes
holke Aug 7, 2024
c24f637
update missing function
Davknapp Aug 7, 2024
b457fdf
Merge branch 'main' into add-non_api_writer_to_class
Davknapp Aug 7, 2024
c2c2ac1
Revert "use true-false instead of 0-1 logic in implementation"
Davknapp Aug 7, 2024
3e75209
update return values
Davknapp Aug 7, 2024
f817247
Merge remote-tracking branch 'origin/add-non_api_writer_to_class' int…
Davknapp Aug 7, 2024
35e988b
Merge remote-tracking branch 'origin/main' into main
Davknapp Aug 7, 2024
42edec9
add FindOpenCASCADE.cmake
sandro-elsweijer Aug 7, 2024
929d9aa
enable usage of FindOpenCASCADE.cmake
sandro-elsweijer Aug 7, 2024
9fc0b10
Add messages if a library was found
sandro-elsweijer Aug 7, 2024
c78534a
link against required occ libraries instead of all
sandro-elsweijer Aug 7, 2024
75a9302
exclude FindOpenCASCADE.cmake from spell check
sandro-elsweijer Aug 7, 2024
e50dd39
fix cmake occ include dir
sandro-elsweijer Aug 7, 2024
ae18099
add pthread linkage to tests for serial CMake build
sandro-elsweijer Aug 7, 2024
ddf0a6a
fixed filename
sandro-elsweijer Aug 7, 2024
68581c6
bump p4est for cmake CI
sandro-elsweijer Aug 7, 2024
1b49f3b
add preparation step for cmake CI
sandro-elsweijer Aug 7, 2024
d19852c
add sc and p4est cmake tests
sandro-elsweijer Aug 7, 2024
94f8fda
add control file for cmake CI
sandro-elsweijer Aug 7, 2024
df2b874
Add explicit conversion
Davknapp Aug 7, 2024
97e2427
add t8code CMake CI
sandro-elsweijer Aug 7, 2024
2ea2a63
add t8code CMake CI to testsuite workflow
sandro-elsweijer Aug 7, 2024
b578752
make dim an int
Davknapp Aug 7, 2024
5f1cb40
Merge pull request #1194 from DLR-AMR/fix-filename
holke Aug 7, 2024
940553c
add t8code linkage CMake CI
sandro-elsweijer Aug 7, 2024
54e7eaa
add t8code linkage CMake CI to workflow
sandro-elsweijer Aug 7, 2024
f387d1d
Fixed CMake check for netcdf_par.h header file
maelk3 Aug 7, 2024
357300b
Added T8CODE_ENABLE_MPI requirement for netcdf_par
maelk3 Aug 7, 2024
7a584bb
Merge branch 'main' into fix_VTK_wo_MPI
Davknapp Aug 8, 2024
75e0e15
Merge pull request #1196 from DLR-AMR/fix_VTK_wo_MPI
sandro-elsweijer Aug 8, 2024
46c2b3e
Merge branch 'main' into feature-CMake_CI_2
sandro-elsweijer Aug 8, 2024
49f5d60
Merge branch 'main' into add-non_api_writer_to_class
Davknapp Aug 8, 2024
1de492d
Merge remote-tracking branch 'origin/fix-cmake-check-netcdf-par-heade…
sandro-elsweijer Aug 8, 2024
ad7d4d8
Merge pull request #1201 from DLR-AMR/fix-cmake-check-netcdf-par-header
sandro-elsweijer Aug 8, 2024
e015b2f
Merge remote-tracking branch 'origin/main' into add-non_api_writer_to…
Davknapp Aug 8, 2024
c9be906
add FindOpenCASCADE.cmake license
sandro-elsweijer Aug 8, 2024
ac19fd0
Merge branch 'main' into fix-warnings
dutkalex Aug 8, 2024
2ff1824
indent cmake ci
sandro-elsweijer Aug 8, 2024
6341975
indent cmake ci
sandro-elsweijer Aug 8, 2024
7e8e202
Update cmake
Davknapp Aug 9, 2024
ad3b1f5
Merge branch 'main' into fix-cmake_linkage
Davknapp Aug 12, 2024
f95b272
Merge branch 'feature-CMake_CI_1_5' into feature-CMake_CI_2
sandro-elsweijer Aug 12, 2024
1db0c34
fixed vtk test bug
Davknapp Aug 12, 2024
b87d1bc
add warning if geometries get added twice
sandro-elsweijer Aug 12, 2024
a8277ce
add assertion for tree vertex retrieval
sandro-elsweijer Aug 12, 2024
3b8cc48
remove unnecessary indent off
sandro-elsweijer Aug 12, 2024
f0d269a
Correct some comments
sandro-elsweijer Aug 12, 2024
676c863
add geometry compatibility check to cmesh commit
sandro-elsweijer Aug 12, 2024
bc2f826
add test for geometry compatibility checking
sandro-elsweijer Aug 12, 2024
d88331b
indent
sandro-elsweijer Aug 12, 2024
2d50976
add missing include
sandro-elsweijer Aug 12, 2024
5d50d4a
increase timeout for linkage tests
sandro-elsweijer Aug 12, 2024
6047769
Merge branch 'feature-CMake_CI_2' of github.com:DLR-AMR/t8code into f…
sandro-elsweijer Aug 12, 2024
ffc7abf
split search_query callback function into two
Davknapp Aug 12, 2024
63591f6
Changed return type of query function to void
Davknapp Aug 12, 2024
991fe2c
Update documentation
Davknapp Aug 12, 2024
57afd95
Get the username of the user interacting with an issue
Davknapp Aug 13, 2024
fafc057
Merge branch 'main' into feature-minor_improvements_interpolation
Davknapp Aug 13, 2024
62a786f
Merge pull request #1190 from DLR-AMR/feature-minor_improvements_inte…
Davknapp Aug 13, 2024
99b6d2e
Merge pull request #1193 from DLR-AMR/fix-cmake_linkage
holke Aug 13, 2024
8c314e5
Merge branch 'main' into feature-CMake_CI_1
sandro-elsweijer Aug 13, 2024
4fb6658
only search for components of the vtk library
Davknapp Aug 13, 2024
7fc83ba
Add white space around variable
holke Aug 13, 2024
b5f35c8
Add reaction if wf is triggered manually
Davknapp Aug 13, 2024
c84062e
Update mattermost_issue.yml
Davknapp Aug 13, 2024
0b891c6
Merge branch 'main' into MM_Issue_with_username
holke Aug 13, 2024
d599c71
Update mattermost_issue.yml
Davknapp Aug 13, 2024
e00e391
Update example/cmesh/t8_cmesh_geometry_examples.cxx
jmark Aug 13, 2024
ac14c2e
Update example/cmesh/t8_cmesh_geometry_examples.cxx
jmark Aug 13, 2024
8fa14f4
Merge branch 'main' into fix-correction-trafo-spherical-shell
jmark Aug 13, 2024
93e9a19
Update mattermost_issue.yml
Davknapp Aug 13, 2024
c72fb67
Merge pull request #1211 from DLR-AMR/MM_Issue_with_username
holke Aug 13, 2024
e55824f
Refined cmesh geometry example.
Aug 13, 2024
df51926
Renamed geometry.
Aug 13, 2024
409d241
Fixed typo.
Aug 13, 2024
c210a28
Applied formatter.
Aug 13, 2024
c418b37
Merge branch 'main' into fix-correction-trafo-spherical-shell
jmark Aug 13, 2024
53f0564
move active_tree_class to geometry base class
sandro-elsweijer Aug 13, 2024
d4b139e
rename T8_CMESH_LAGRANGE_POLY_DEGREE to T8_CMESH_LAGRANGE_POLY_DEGREE…
sandro-elsweijer Aug 13, 2024
a812df6
move incompatible geom test to linear axis aligned
sandro-elsweijer Aug 13, 2024
4e153ab
rework macro
sandro-elsweijer Aug 13, 2024
67d9c0d
add tree compatibility to analytic geom
sandro-elsweijer Aug 13, 2024
2cf3a01
add tree compatibility to lagrange geom
sandro-elsweijer Aug 13, 2024
55ff56b
add tree compatibility test for lagrange geom
sandro-elsweijer Aug 13, 2024
22d6429
fix logic in tree compatibility test
sandro-elsweijer Aug 13, 2024
a2bd846
add tree compatibility test for linear geom
sandro-elsweijer Aug 13, 2024
5189a19
add tree compatibility test for cad geom
sandro-elsweijer Aug 13, 2024
af533ae
add tree compatibility test for zero geom
sandro-elsweijer Aug 13, 2024
dfa2e0d
add tree compatibility test for example cmesh geoms
sandro-elsweijer Aug 13, 2024
4e3779a
add tree compatibility test for example geoms
sandro-elsweijer Aug 13, 2024
f770fcd
make tree compatibility implementation mandatory for all geoms
sandro-elsweijer Aug 13, 2024
2e328b8
Update src/t8_vtk/t8_vtk_writer.cxx
Davknapp Aug 13, 2024
4681766
Merge branch 'main' into add-non_api_writer_to_class
Davknapp Aug 13, 2024
fa92afe
Merge pull request #1150 from DLR-AMR/add-non_api_writer_to_class
Davknapp Aug 13, 2024
1839359
Added missing geometries to test.
Aug 13, 2024
c6d207d
Merge branch 'main' into fix-correction-trafo-spherical-shell
jmark Aug 13, 2024
a2cd6a1
Merge branch 'main' into improve-search_callback
holke Aug 13, 2024
ff2f292
Update comments
Davknapp Aug 13, 2024
869ccb6
Update comment content
Davknapp Aug 13, 2024
6886252
query -> queries
Davknapp Aug 13, 2024
f6bc3bc
Add api folder to indent all files script
sandro-elsweijer Aug 13, 2024
d95cfd0
fix test
sandro-elsweijer Aug 13, 2024
23cb457
add tree compatibility test for example cmesh geoms
sandro-elsweijer Aug 13, 2024
0e8534c
Merge branch 'main' into enhancement-geometry_checking
sandro-elsweijer Aug 13, 2024
9525dc4
fix faulty copyright statements
sandro-elsweijer Aug 14, 2024
6331c98
unify indentation of copyright notices
sandro-elsweijer Aug 14, 2024
f50d818
fix copyright notice
sandro-elsweijer Aug 14, 2024
37c4558
Merge pull request #1218 from DLR-AMR/fix-copyright_notices
holke Aug 14, 2024
0ed0724
Update copyright notice.
holke Aug 14, 2024
c44a5d7
Change eps to T8_PRECISION_EPS
holke Aug 14, 2024
a4a50ea
change eps to T8_PRECISION_EPS
holke Aug 14, 2024
7232987
Merge pull request #1187 from DLR-AMR/feature-test_geom_triangular_in…
holke Aug 14, 2024
ad8993b
Merge branch 'main' into fix-correction-trafo-spherical-shell
jmark Aug 14, 2024
93631ae
Increased example radius for disk and sphere.
Aug 14, 2024
10459d4
Merge pull request #1185 from DLR-AMR/fix-correction-trafo-spherical-…
jmark Aug 14, 2024
48223af
Updated comment
Davknapp Aug 15, 2024
2215b63
Merge branch 'main' into improve-search_callback
Davknapp Aug 15, 2024
66535cd
Merge pull request #1208 from DLR-AMR/improve-search_callback
holke Aug 15, 2024
d7898e6
Merge pull request #1217 from DLR-AMR/enhancement-cmesh_examples_geom…
jmark Aug 15, 2024
ce54168
Merge branch 'main' into enhancement-geometry_checking
sandro-elsweijer Aug 15, 2024
b3b88df
remove [[maybe_unused]] attributes
dutkalex Aug 16, 2024
a62ab7a
add macro around variable which is only used with vtk
sandro-elsweijer Aug 16, 2024
43cf738
Merge pull request #1222 from DLR-AMR/fix-warning
holke Aug 16, 2024
9f1d105
Merge branch 'main' into fix-warnings
dutkalex Aug 16, 2024
b65182d
Delete src/t8_cmesh/t8_cmesh_vtk_writer.c
dutkalex Aug 16, 2024
6399e16
indent
sandro-elsweijer Aug 16, 2024
e5bdd22
Merge pull request #1223 from DLR-AMR/fix-warnings_indent
sandro-elsweijer Aug 19, 2024
00fd28b
Merge pull request #1216 from DLR-AMR/fix-add_api_to_indent_all_files
Prasanna-Ponnusamy Aug 19, 2024
d230465
Merge pull request #1212 from DLR-AMR/VTK_components
sandro-elsweijer Aug 20, 2024
ff9055f
add input description for cmake ci preparation
sandro-elsweijer Aug 20, 2024
65dd301
add input description for cmake ci sc p4est
sandro-elsweijer Aug 20, 2024
ebee6bc
Merge branch 'feature-CMake_CI_1' into feature-CMake_CI_1_5
sandro-elsweijer Aug 20, 2024
0930ac6
add input description for cmake ci t8code tests
sandro-elsweijer Aug 20, 2024
937c2ab
Merge branch 'feature-CMake_CI_1_5' into feature-CMake_CI_2
sandro-elsweijer Aug 20, 2024
e002136
add input description for cmake ci t8code linkage tests
sandro-elsweijer Aug 20, 2024
265ebd4
Merge branch 'main' into feature-CMake_CI_1
sandro-elsweijer Aug 20, 2024
67e4cb9
Merge pull request #1195 from DLR-AMR/feature-CMake_CI_1
Davknapp Aug 20, 2024
7d02ec8
switch from ninja test to ctest for parallel test execution
sandro-elsweijer Aug 20, 2024
52b4a91
let tests run in parallel as default
sandro-elsweijer Aug 21, 2024
d0ae185
enhance default build type selection
sandro-elsweijer Aug 21, 2024
3a7928d
Merge pull request #1228 from DLR-AMR/fix-cmake_parallel_tests
Davknapp Aug 21, 2024
03e9657
add option to export cmake compile commands
sandro-elsweijer Aug 22, 2024
5017a1b
Merge branch 'main' into feature-CMake_CI_1_5
Davknapp Aug 23, 2024
55d7e45
Merge pull request #1199 from DLR-AMR/feature-CMake_CI_1_5
Davknapp Aug 23, 2024
f4e036c
Merge branch 'main' into feature-CMake_CI_2
Davknapp Aug 23, 2024
83f9ce9
Merge branch 'feature-CMake_CI_2' into fix-enable_parallel_tests_in_c…
Davknapp Aug 23, 2024
3e42eea
Merge pull request #1200 from DLR-AMR/feature-CMake_CI_2
Davknapp Aug 23, 2024
e7ac069
typo
sandro-elsweijer Aug 23, 2024
305ae48
Merge branch 'main' into fix-enable_parallel_tests_in_cmake_ci
sandro-elsweijer Aug 23, 2024
6705030
Merge pull request #1233 from DLR-AMR/fix-typo_in_pr_template
Davknapp Aug 23, 2024
4abab5b
Merge pull request #1226 from DLR-AMR/fix-enable_parallel_tests_in_cm…
sandro-elsweijer Aug 23, 2024
27b0867
Revert "Enable parallel tests in cmake ci"
sandro-elsweijer Aug 23, 2024
17560e7
remove makeflags from ninja test to avoid confusion
sandro-elsweijer Aug 23, 2024
d5a91d2
retain folder structure of examples
sandro-elsweijer Aug 23, 2024
4ba3e69
make macro ready for multiple executable files
sandro-elsweijer Aug 23, 2024
7891a4d
retain folder structure of tutorials
sandro-elsweijer Aug 23, 2024
55e5a4e
Merge pull request #1234 from DLR-AMR/revert-1226-fix-enable_parallel…
sandro-elsweijer Aug 23, 2024
95ef71a
retain folder structure of tests
sandro-elsweijer Aug 23, 2024
88e5f29
retain folder structure of benchmarks
sandro-elsweijer Aug 23, 2024
e3d0d50
Merge branch 'main' into enhancement-default_build_type
sandro-elsweijer Aug 27, 2024
f182d58
Merge pull request #1229 from DLR-AMR/enhancement-default_build_type
Davknapp Aug 27, 2024
4ddb420
Add _serial suffix to all tests that should only run in serial
Davknapp Aug 27, 2024
fd3493a
Run serial tests only on 1 proc
Davknapp Aug 27, 2024
e189147
Add parallel suffix to indicate mpi-parallel execution for tests
Davknapp Aug 27, 2024
072f0f2
split CI testrun in a serial and a parallel run.
Davknapp Aug 27, 2024
3fb4ddb
Add missing test-split
Davknapp Aug 27, 2024
626fb57
Merge remote-tracking branch 'origin/main' into CI_speedup
Davknapp Aug 27, 2024
023e2b6
Apply changes from code review
Davknapp Aug 27, 2024
7c395e8
Execute half-neighbor test in serial + Indentation
Davknapp Aug 27, 2024
5840f5b
Apply suggestions from code review
Davknapp Aug 27, 2024
4e4eac7
fix typo
sandro-elsweijer Aug 27, 2024
5383a7d
adapt epsilon
sandro-elsweijer Aug 27, 2024
c6277b2
typo
sandro-elsweijer Aug 27, 2024
b828ade
Merge remote-tracking branch 'origin/CI_speedup' into CI_speedup
Davknapp Aug 27, 2024
bdf3b36
Offer two custom commands, one for serial, one for parallel tests
Davknapp Aug 27, 2024
1b501a8
Move is_leaf to serial execution
Davknapp Aug 27, 2024
7c279b6
update serial execution
Davknapp Aug 27, 2024
badec87
Update CMakeLists.txt
Davknapp Aug 27, 2024
b405fa1
Update CMakeLists.txt
Davknapp Aug 27, 2024
5248f22
Update workflow
Davknapp Aug 27, 2024
9fb15bb
Merge remote-tracking branch 'origin/CI_speedup' into CI_speedup
Davknapp Aug 27, 2024
2ca27ac
Merge pull request #1238 from DLR-AMR/CI_speedup
sandro-elsweijer Aug 27, 2024
0729371
Merge pull request #1239 from DLR-AMR/enhancement-minor_fixes
Davknapp Aug 27, 2024
2023e3b
Removing constexpr.
Aug 30, 2024
6c4d6fe
Fixing minor stuff.
Aug 30, 2024
dbfd679
Apply suggestion from code review
sandro-elsweijer Sep 2, 2024
07c7fb5
Apply suggestion from code review
sandro-elsweijer Sep 2, 2024
bb33b73
add compile command output to benchmarks
sandro-elsweijer Sep 2, 2024
ac02b44
add compile command output to example
sandro-elsweijer Sep 2, 2024
0f1e350
add compile command output to tests
sandro-elsweijer Sep 2, 2024
1bb2580
add compile command output to tutorials
sandro-elsweijer Sep 2, 2024
7ca141c
Merge branch 'main' into feature-export_cmake_compile_commands
maelk3 Sep 2, 2024
cc6391d
Merge pull request #1230 from DLR-AMR/feature-export_cmake_compile_co…
sandro-elsweijer Sep 2, 2024
e3d763f
Merge branch 'main' into enhancement-geometry_checking
sandro-elsweijer Sep 2, 2024
7f823ff
indent
sandro-elsweijer Sep 2, 2024
a927082
Merge branch 'main' into enhancement-reatain_source_folder_structure
jmark Sep 3, 2024
6bce0b7
Merge pull request #1235 from DLR-AMR/enhancement-reatain_source_fold…
jmark Sep 3, 2024
98c93df
Merge branch 'main' into fix-const-expr
Sep 3, 2024
df09d6b
Applying formater.
Sep 3, 2024
4d55d2a
Update t8_vtk_write_ASCII.cxx
jmark Sep 4, 2024
fe7d32c
Merge pull request #1242 from DLR-AMR/fix-const-expr
Davknapp Sep 4, 2024
b242985
Merge branch 'main' into enhancement-geometry_checking
Davknapp Sep 5, 2024
717fcf5
simplify return value
sandro-elsweijer Sep 6, 2024
05949f7
consting
sandro-elsweijer Sep 6, 2024
1053773
typo
sandro-elsweijer Sep 6, 2024
66e8634
simplify return value
sandro-elsweijer Sep 6, 2024
65e363a
documentation
sandro-elsweijer Sep 6, 2024
362bb55
Merge branch 'enhancement-geometry_checking' of github.com:DLR-AMR/t8…
sandro-elsweijer Sep 6, 2024
3e07b16
documentation
sandro-elsweijer Sep 6, 2024
ce8365c
Merge pull request #1205 from DLR-AMR/enhancement-geometry_checking
Davknapp Sep 6, 2024
c0f0007
Bump peter-evans/create-pull-request from 6 to 7
dependabot[bot] Sep 9, 2024
9080ca7
Merge pull request #1245 from DLR-AMR/dependabot/github_actions/peter…
Davknapp Sep 9, 2024
c236276
typo
sandro-elsweijer Sep 13, 2024
e68a065
convert int to switch
sandro-elsweijer Sep 13, 2024
37691ab
indent
sandro-elsweijer Sep 13, 2024
4fa0640
Merge pull request #1246 from DLR-AMR/fix-typo_in_example
Davknapp Sep 13, 2024
7bfe550
Implemented the building of congruent and embedded meshes from netCDF…
LenaRadmer Sep 17, 2024
71d932b
Merge current main branch
LenaRadmer Sep 17, 2024
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
2 changes: 2 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,7 @@ SpacesInParentheses: 'false'
SpacesInSquareBrackets: 'false'
TabWidth: '2'
UseTab: Never
LineEnding: LF
InsertNewlineAtEOF: 'true'

...
48 changes: 48 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

# Bug report

**Describe the bug**
A clear and concise description of what the bug/unexpected behaviour is.

**To Reproduce**
Which command did you run/which function did you call?

**Expected behavior**
A clear and concise description of what you expected to happen.

**Log files**
- If possible, add any output and error messages that you got
- Please upload the `config.log` file (when building with autotools)
- For failing tests, please upload the `test-suite.log` file (when building with autotools)
- When building with CMake please upload
- `CMakeCache.txt`
- `CMakeFiles/CMakeError.log`
- `CMakeFiles/CMakeOutput.log`
- `Testing/Temporary/FailedTest.log` (for failing tests)
- `Testing/Temporary/LastTestsFailed.log` (for failing tests)

**Environment (please complete the following information):**
- OS: [e.g. Ubuntu 22.04, Windows 11]
- Compiler: [e.g., gcc, icc, mpicc]
- Compiler version: [e.g. the output of 'gcc --version']
- MPI version (if MPI is used): [The output of 'mpirun --version' or 'mpiexec --version']

**Estimated priority**
Which of these is most applicable (remove the others):

"Priority: high" Should be solved as soon as possible

"Priority: medium" Should be solved within half a year

"Priority: low" Should be solved eventually

**Additional context**
Add any other context about the problem here.
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

# Feature request

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution or feature you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Estimated priority**
Which of these is most applicable (remove the others):

"Priority: high" Should be solved as soon as possible

"Priority: medium" Should be solved within half a year

"Priority: low" Should be solved eventually


**Additional context**
Add any other context or screenshots about the feature request here.
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: Question
about: I have a question about t8code
title: ''
labels: ''
assignees: ''

---

# Question

Please post any questions about t8code or the usage of t8code.
10 changes: 7 additions & 3 deletions .github/workflows/add_release_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,17 @@ jobs:
#
# Setup and bootstrap
#

- name: Update packages
run: sudo apt-get update && sudo apt-get upgrade -y
# This step is necessary to get the newest package data
- name: checkout
if: ${{ env.MINOR_RELEASE == 'true' }}
uses: actions/checkout@v4
with:
path: t8code

fetch-tags: true
fetch-depth: 0
- name: Install dependencies
if: ${{ env.MINOR_RELEASE == 'true' }}
run: sudo apt-get install libz-dev doxygen-latex
Expand Down Expand Up @@ -114,7 +119,6 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
repository: DLR-AMR/t8code-website
path: t8code-website
token: ${{ secrets.T8DDY_TOKEN }}
Expand Down Expand Up @@ -142,7 +146,7 @@ jobs:
./generate_redirections.sh $GITHUB_REF_NAME
- name: Create Pull Request at DLR-AMR/t8code-website
if: ${{ env.MINOR_RELEASE == 'true' }}
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@v7
with:
path: t8code-website
title: Add documentation for t8code ${{ github.ref_name }}
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/check_indentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,17 @@ jobs:
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
with:
fetch-tags: true # required to get version tags
fetch-depth: 0 # required to get all history, especially the version tags
# Deactivated the install sudo because it failed.
#- name: install sudo
# run: apt update && apt install sudo
# On the github Ubuntu 20.04, sudo is not available by default
# we need it, however, to update/upgrade our packages.
- name: Update packages
run: sudo apt-get update && sudo apt-get upgrade -y
# This step is necessary to get the newest package data
- name: Install indent
run: pip install clang-format==17.0.1
- name: Indentation check
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/ci_playground.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,15 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true # required to get version tags
fetch-depth: 0 # required to get all history, especially the version tags
- name: install sudo
run: apt update && apt install sudo
# On the github Ubuntu 20.04, sudo is not available by default
# we need it, however, to update/upgrade our packages.
- name: Update packages
run: sudo apt-get update && sudo apt-get upgrade -y
# This step is necessary to get the newest package data
- name: define sc var
run: hash=`git rev-parse HEAD:sc` && echo sc_commit=$hash >> $GITHUB_ENV
- name: define p4est var
Expand Down
76 changes: 76 additions & 0 deletions .github/workflows/mattermost_issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# This file is part of t8code.
# t8code is a C library to manage a collection (a forest) of multiple
# connected adaptive space-trees of general element types in parallel.
#
# Copyright (C) 2024 the developers
#
# t8code is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# t8code is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with t8code; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.


# This is a workflow that posts messages in our Mattermost-Team concerning issues.
# See https://docs.github.com/en/webhooks/webhook-events-and-payloads?actionType=closed#issues for
# a documentation of the github issues event.

name: Mattermost_message_issue

# Controls when the workflow will run
on:
# Triggers the workflow on pull request events on the feature-CI_mattermost_messages, develop or main branch
issues:
types: [ opened, closed, reopened]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
env:
message_build: 0

jobs:
send_mm_message_issue:
if: github.repository == 'DLR-AMR/t8code'
runs-on: ubuntu-20.04
steps:
- name: debug_before_build
run: echo ${{ env.message_build}}
# build the message depending on different types of events and event actions. Message is written into mattermost.json
- name: dispatch_run
if: github.event_name == 'workflow_dispatch'
run: |
echo message_build=1 >> $GITHUB_ENV &&
echo message_content='User ${{github.actor}} triggered the workflow_dispatch' >> $GITHUB_ENV
- name: closed_message
if: github.event.action == 'closed'
run: |
echo message_build=1 >> $GITHUB_ENV &&
echo message_content='User ${{ github.actor }} closed issue ${{ github.event.issue.number }}. See ${{ github.event.issue.html_url }} for more details.' >> $GITHUB_ENV
- name: opened_message
if: github.event.action == 'opened'
run: |
echo message_build=1 >> $GITHUB_ENV &&
echo message_content='User ${{ github.actor }} opened issue ${{ github.event.issue.number }}. See ${{ github.event.issue.html_url }} for more details.' >> $GITHUB_ENV
- name: reopened_message
if: github.event.action == 'reopened'
run: |
echo message_build=1 >> $GITHUB_ENV &&
echo message_content='User ${{ github.actor }} reopened issue ${{ github.event.issue.number }}. See ${{ github.event.issue.html_url }} for more details.' >> $GITHUB_ENV
- name: debug_after_build
run: echo ${{ env.message_build }}
# if a message has been written send the message to the mattermost-channel described in the secrets
- name: send_message
if: ${{ env.message_build == 1 }}
uses: mattermost/action-mattermost-notify@master
with:
MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
MATTERMOST_USERNAME: t8ddy
TEXT: ${{ env.message_content }}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# This is a workflow that posts messages in our Mattermost-Team concerning pull-requests and pushes
# on the main, develop and feature-CI_mattermost_messages branch.

name: Mattermost_message
name: Mattermost_message_pull_request

# Controls when the workflow will run
on:
Expand All @@ -37,7 +37,7 @@ env:
message_build: 0

jobs:
send_mm_message:
send_mm_message_pr:
if: github.repository == 'DLR-AMR/t8code'
runs-on: ubuntu-20.04
steps:
Expand All @@ -48,23 +48,24 @@ jobs:
if: github.event.action == 'closed' && github.event.pull_request.merged == true
run: |
echo message_build=1 >> $GITHUB_ENV &&
echo "{\"text\":\"Pull request ${{ github.event.number }} has been merged. See ${{ github.event.pull_request.html_url }} for more details.\"}" > mattermost.json
echo message_content='Pull request ${{ github.event.number }} has been merged. See ${{ github.event.pull_request.html_url }} for more details.' >> $GITHUB_ENV
- name: push_message
if: github.event_name == 'push' && github.event.action != 'closed'
run: |
echo message_build=1 >> $GITHUB_ENV &&
echo "{\"text\":\"${{ github.event.pusher.name }} pushed into ${{ github.event.ref }}. See ${{ github.event.compare }} for more details.\"}" > mattermost.json
echo message_content='${{ github.event.pusher.name }} pushed into ${{ github.event.ref }}. See ${{ github.event.compare }} for more details.' >> $GITHUB_ENV
- name: pull_request_message
if: github.event_name == 'pull_request' && github.event.action != 'synchronize' && github.event.action != 'closed'
run: |
echo message_build=1 >> $GITHUB_ENV &&
echo "{\"text\":\"Pull request ${{ github.event.number }} has been ${{ github.event.action }}. See ${{ github.event.pull_request.html_url }} for more details.\"}" > mattermost.json
echo message_content='Pull request ${{ github.event.number }} has been ${{ github.event.action }}. See ${{ github.event.pull_request.html_url }} for more details.' >> $GITHUB_ENV
- name: debug_after_build
run: echo ${{ env.message_build }}
# if a message has been written send the message to the mattermost-channel described in the secrets
- name: send_message
if: ${{ env.message_build == 1 }}
uses: mattermost/action-mattermost-notify@master
env:
with:
MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
MATTERMOST_USERNAME: t8y
MATTERMOST_USERNAME: t8ddy
TEXT: ${{ env.message_content }}
Loading