464 Commits

Author SHA1 Message Date
Max Lübke
ebca11f4fd Merge branch '1-remove-bits-stdc-h-as-header' into 'main'
Resolve "Remove <bits/stdc++.h> as header"

Closes #1

See merge request naaice/tug!2
2023-05-03 12:12:05 +02:00
Max Lübke
f24ce43f5a fix: remove bits/* header 2023-05-03 12:11:13 +02:00
Marco De Lucia
adb2e325be MDL: add compiled ADI_scheme.pdf to /doc 2023-03-17 11:47:03 +01:00
Marco De Lucia
79957da687 Merge branch 'advection_naaice' into 'main'
Merge heterogeneous diffusion

See merge request naaice/tug!1
2023-03-17 11:42:08 +01:00
Marco De Lucia
cea941853b Adi2D_Ref 2023-03-17 10:57:07 +01:00
Max Luebke
79d7a32fc2 fix: conversion of inner index when using inner boundary conditions 2023-01-24 12:01:56 +01:00
Max Lübke
d4e3ab8544 perf: remove OpenMP pragma from ortho calc, since we already forked
OpenMP threads in 2D ADI
2023-01-06 16:18:06 +01:00
Marco De Lucia
e4ec0a11da MDL fixing docs 2022-12-27 15:37:41 +01:00
Marco De Lucia
9815ebce9c Small fixes 2022-12-21 18:54:15 +01:00
Marco De Lucia
7bd40639d5 MDL: direct discretization scheme, theory in doc and dirty implementation in scripts 2022-12-21 13:55:18 +01:00
Marco De Lucia
e853a96839 Working out heter.diff scheme (not working yet) 2022-12-20 22:53:21 +01:00
Max Lübke
0abd4e04ae chore: update Changelog to version 0.3 v0.3 2022-09-08 14:24:49 +02:00
Max Lübke
0be1586d69 chore: remove unneeded test file 2022-09-08 14:22:22 +02:00
Max Lübke
6120acdaf4 refactor: move includes into subdirectory 'tug' 2022-09-08 14:21:52 +02:00
Max Lübke
590884dabb chore: Bump changelog to version 0.3 2022-09-08 12:49:26 +02:00
Max Lübke
592f59dbc5 perf: represent inner boundary conditions with a std::map
refactor: inner boundary conditions are now accessible via methods

test: update test cases
2022-09-08 12:46:26 +02:00
Max Lübke
94e83b5eb8 feat: allow undefined boundary conditions
It is now possible to not define any boundary condition object.

In this case a grid with closed boundary conditions is assumed during
diffusion simulation.

refactor: various adjustments according to clang-tidy
2022-09-08 11:53:25 +02:00
Max Lübke
02a9531544 feat: add helper functions to TugInput struct 2022-09-01 16:43:14 +02:00
Max Luebke
e482d71779 feat: Remove class BTCSDiffusion
BREAKING CHANGE: Functionality is now provided by function calls and
scheme generation is decoupled from LEqS solving.
2022-09-01 16:43:14 +02:00
Max Lübke
97889cde5e fix: grid dimensions were stored and accessed incorrectly 2022-08-24 14:48:46 +02:00
Max Lübke
32f3658861 ci: linting needs to be triggered manually now 2022-08-24 07:21:14 +00:00
Max Lübke
b5db1056c4 test: enable building of tests per default 2022-08-24 09:08:31 +02:00
Max Lübke
443ea15c58 test: add target check 2022-08-24 09:05:12 +02:00
Max Lübke
822f50d887 chore: update Changelog link to new name 2022-08-23 14:22:50 +02:00
Max Lübke
9abd35879c chore: Change URL of repo and and description for CI 2022-08-23 14:13:42 +02:00
Max Lübke
c96655241f docs: Update and extending README
build: Set internal variables to new project name

ci: Use new CMake variables as basis
2022-08-23 11:35:08 +02:00
Marco De Lucia
40f37bf104 chore: moved Comp*.R to scripts/ 2022-08-18 10:51:43 +02:00
Max Lübke
baaa85182f build: remove BoundaryCondition as extra library 2022-08-17 12:13:57 +02:00
Max Lübke
c99f770182 refactor: move BoundaryCondition header and source 2022-08-17 12:07:21 +02:00
Max Lübke
1822bcd98d refactor: rename BoundaryCondition class 2022-08-17 12:05:16 +02:00
Max Lübke
bdd56bec82 refactor: rename and expand namespace 2022-08-17 11:58:18 +02:00
Max Lübke
46185571c0 doc: remove old stuff from ADI documentation 2022-08-17 09:56:46 +02:00
Max Lübke
832b61bd19 chore: bump Changelog to version 0.2 v0.2 2022-08-16 15:40:31 +02:00
Max Lübke
b7c9dbb535 style: fix various code style recommendations from clang 2022-08-16 15:35:14 +02:00
Max Lübke
67ca71404c chore: configure git-chglog for new commit style 2022-08-16 15:24:15 +02:00
Max Lübke
9461ebd8f3 test: add new test case for diffusion module
Test case defines a 2D grid with closed boundaries and 1 constant cell
in the middle.

Every other cell is set to 0.

After each iteration the sum of all cells must be greater in comparison
to the previous state of field.
2022-08-16 15:24:08 +02:00
Max Luebke
f9280b1274 feat: support for inner closed cells in diffusion module 2022-08-16 15:22:32 +02:00
Max Lübke
37c2dd70ec refactor: remove BTCSUtils header from include API 2022-08-16 15:22:32 +02:00
Max Lübke
be50ae4777 test: add tests for inner boundary conditions 2022-08-16 15:22:32 +02:00
Max Lübke
b6eb212bcb feat: add setting of inner boundary conditions
It is possible to define inner grid cells with a type of either CLOSED,
FLUX, CLOSED or UNSET.
2022-08-16 15:22:32 +02:00
Max Lübke
fd7e2f5b63 build: fetch doctest during configuration 2022-08-16 11:30:35 +00:00
Max Lübke
85c9fc5be2 ci: disable testing during static analyze 2022-08-16 11:30:35 +00:00
Max Lübke
19fc29dc52 ci: add git as dependency 2022-08-16 11:30:35 +00:00
Max Lübke
2e2ba6cd82 Merge branch 'update-bc-style' into 'main'
Update bc style

See merge request sec34/btcsdiffusion!36
2022-08-12 21:16:43 +02:00
Max Lübke
efed757a9e style: Use enumerations for macros and use more useful function names
Update the pre-compiler macros defined by `BTCSBoundaryCondition` to enumerations. 

Update method names for getting row and column boundary conditions.
2022-08-12 21:16:43 +02:00
Max Lübke
c4334164a3 Merge branch 'update-readme' into 'main'
docs: update Roadmap and add Contributing section

See merge request sec34/btcsdiffusion!35
2022-08-12 20:57:57 +02:00
Max Luebke
652bcc71a9 docs: update Roadmap and add Contributing section 2022-08-12 18:56:24 +00:00
Max Lübke
1c8b3b7c95 Merge branch 'add-changelog' into 'main'
Add changelog

See merge request sec34/btcsdiffusion!34
2022-08-12 20:27:16 +02:00
Max Luebke
38700f2968 Add Changelog 2022-08-12 20:25:37 +02:00
Max Luebke
c1cb489a69 Add git-chglog template for changelog creation 2022-08-12 19:02:23 +02:00