517 Commits

Author SHA1 Message Date
Max Lübke
61d6cfc5cb fix: remove factor 2 in 'middle' coefficient of explicit part (closed)
test: add test case with homogeneous field and same values as const
boundary condition
v0.4.1
2023-12-19 16:04:57 +01:00
Max Lübke
f651c1d158 Merge branch 'fix-dt' into 'main'
fix: use maximum alpha for CFL condition

See merge request naaice/tug!22
2023-12-04 09:13:55 +01:00
Max Lübke
db1a2b2e5c fix: use maximum alpha for CFL condition 2023-12-04 09:12:10 +01:00
Max Lübke
8824dc1fd9 Merge branch 'fix-FTCS' into 'main'
fix: Typos in FTCS

See merge request naaice/tug!21
2023-11-30 09:16:15 +01:00
Max Lübke
cdfc42ac9c fix: Typos in FTCS
In the calculation of alpha intercell values, the concentration of alpha
and its neighboring concentrations were utilized, as opposed to
employing neighboring alpha concentrations.

For evaluating the left/right boundary conditions, there was an error in
indexing - specifically, column indexing was erroneously employed
instead of the intended row indexing.
2023-11-30 08:58:46 +01:00
Max Lübke
e2bf3a7662 chore: update .gitignore 2023-11-30 08:54:14 +01:00
Max Lübke
ee77b5f7f3 Merge branch 'theory' into 'main'
docs: add theory part from HP report

See merge request naaice/tug!20
2023-11-01 10:41:19 +01:00
Max Lübke
141028548b docs: add theory part from HP report 2023-11-01 10:40:38 +01:00
Max Lübke
32d6a4e3ec Merge branch 'contributors' into 'main'
doc: adding contributors

See merge request naaice/tug!19
2023-11-01 09:05:26 +01:00
Max Lübke
97b43e1a16 doc: adding contributors 2023-11-01 09:04:55 +01:00
Max Lübke
39541a2054 Merge branch 'naaice' into 'main'
BREAKING CHANGE: tug as header-only library

See merge request naaice/tug!18
2023-10-27 13:18:03 +02:00
Max Lübke
5a39f5377e doc: update example pages 2023-10-19 13:09:22 +02:00
Max Lübke
77914ea69f fix: include optional output of csv during thomas algorithm
fix: marco's benchmark
2023-10-19 12:23:23 +02:00
Max Lübke
8456f2212d BREAKING CHANGE: tug as header-only library
build: installation of library is now possible
2023-10-19 12:20:39 +02:00
Marco De Lucia
0471f3d8f9 fix: readded "using namespace tug;" in naaice/BTCS_2D_NAAICE.cpp 2023-10-16 17:34:52 +02:00
Marco De Lucia
8cfb61587d feat: add naaice/NAAICE_dble_vs_float.cpp 2023-10-16 17:31:43 +02:00
Marco De Lucia
9a3fc67885 Fix: Eigen::MatrixX<T> instead of Eigen::MatrixXd in Grid.hpp 2023-10-16 12:11:52 +02:00
Max Lübke
5196c36ec5 fix: reintroduce tug namespace 2023-09-15 11:38:13 +02:00
Max Lübke
ba627b6624 feat: rewrite library as template library 2023-09-15 11:38:08 +02:00
Max Lübke
46f9cef3a9 Merge branch 'main' into naaice 2023-09-15 08:15:19 +02:00
Max Lübke
00cafb70dc BREAKING CHANGE: reworked API
BREAKING CHANGE: added heterogeneous diffusion

BREAKING CHANGE: added FTCS scheme

See merge request naaice/tug!16
v0.4
2023-09-15 07:49:53 +02:00
Max Lübke
5099fd23a9 fix: add namespaces to example executables 2023-09-15 07:48:21 +02:00
Max Lübke
8e5c1ad035 refactor: implement coeff boundary functions as template constexpr 2023-09-15 07:35:05 +02:00
Max Lübke
819db24e18 Merge branch 'main' into 'hannes-philipp'
# Conflicts:
#   scripts/Adi2D_Reference.R
#   scripts/HetDiff.R
2023-09-14 16:27:39 +00:00
Max Lübke
6c1ccb90fd refactor: implement coeff boundary functions as template constexpr 2023-09-14 16:21:45 +02:00
Max Lübke
ef1ccd4c14 refactor: various changes to BTCS functions 2023-09-14 16:21:20 +02:00
Max Lübke
a0d835e243 refactor: inline Coeff Functions 2023-09-14 16:21:20 +02:00
Max Lübke
0eba63f875 refactor: core adjustments to Simulation class
perf: const qualification of local vairables
2023-09-14 16:21:20 +02:00
Max Lübke
edaad7cc04 refactor: core adjustment to Boundary class
perf: const qualification of local variables
2023-09-14 16:21:20 +02:00
Max Lübke
f0d5220a48 refactor: adjust const qualifications for Grid class 2023-09-14 14:54:34 +02:00
Max Lübke
a21023ec9d feat: make OpenMP parallelization optional 2023-09-14 13:31:31 +02:00
Max Lübke
587bb5a622 ci: remove 'modernize' from clang-tidy list 2023-09-14 13:12:38 +02:00
Max Lübke
c5979cd6f4 ci: add clang openmp includes 2023-09-14 12:40:06 +02:00
Max Lübke
4b4c439c68 doc: slight change to instructions
doc: add LICENSE
2023-09-14 12:34:12 +02:00
Max Lübke
da6d004e16 chore: cleanup of repository 2023-09-14 12:22:52 +02:00
Max Lübke
61a4b0ae8a build: make compilation of examples optional
build: set default values of optional options to OFF
2023-09-14 12:16:35 +02:00
Max Lübke
3106c2b8d5 test: add Boundary test case 2023-09-14 12:11:37 +02:00
Max Lübke
8af03777b8 fix: add namespaces to executables 2023-09-14 12:05:14 +02:00
Max Lübke
2096ee5cc3 refactor: remove all 'using namespaces' from library 2023-09-14 12:04:03 +02:00
Max Lübke
2483019b89 fix: remove guards in source files 2023-09-14 11:46:45 +02:00
Max Lübke
ce09f0d8c8 fix: remove all source file includes 2023-09-14 11:34:41 +02:00
Max Lübke
b9c4474f5a fix: add header guards to includes 2023-09-14 11:02:40 +02:00
Max Lübke
d7608a7330 Revert "Change TugUtils.hpp to TugUtils.cpp"
This reverts commit 81774e72c1b7b5332ce3d3a57397ee4a4b521d4a.
2023-09-14 10:27:07 +02:00
Max Lübke
0d34752837 refactor: format all source files to LLVM standard 2023-09-14 10:27:05 +02:00
philippun
81774e72c1 Change TugUtils.hpp to TugUtils.cpp hand-in-hp 2023-09-13 10:56:35 +02:00
philippun
443f8b6cd1 Merge branch 'hannes-philipp' of git.gfz-potsdam.de:naaice/tug into hannes-philipp 2023-09-13 10:55:12 +02:00
philippun
684fcd217f changed default numbeer of cores to max-1 2023-09-13 10:55:05 +02:00
Hannes Signer
9d663d8140 Merge branch 'hannes-philipp' of git.gfz-potsdam.de:naaice/tug into hannes-philipp 2023-09-11 11:10:44 +02:00
Hannes Signer
eb42377f30 change experiment files 2023-09-11 11:10:27 +02:00
philippun
fc4689461e Merge branch 'hannes-philipp' of git.gfz-potsdam.de:naaice/tug into hannes-philipp 2023-09-08 15:30:33 +02:00