230 Commits

Author SHA1 Message Date
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
Max Lübke
02e65afb60 Move includes 2022-08-12 13:06:36 +00:00
Max Lübke
e9f5b34968 Move apps to examples 2022-08-12 14:53:27 +02:00
Max Lübke
b2157b8722 Fix output of exceptions v0.1 2022-08-04 14:54:38 +02:00
Max Lübke
45c5e7bdfe Add "BTCS" as suffix to CMake options 2022-08-01 15:54:15 +02:00
Max Lübke
5d986c5685 Update Readme 2022-07-06 10:56:59 +00:00
Max Lübke
62f74fbdad Fix pipeline when running on multiple runners 2022-07-06 12:53:58 +02:00
Max Lübke
10a1f2757b Improve excpetion description 2022-06-22 13:19:03 +02:00
Max Lübke
3d6c1e6713 Update 1D constructor + allow row() on 1D grids 2022-06-22 13:00:41 +02:00
Max Lübke
e76ba4e936 Merge branch '10-implement-getter-for-boundary-condition-as-vector' into 'main'
Resolve "Implement getter for boundary condition as vector"

Closes #10

See merge request mluebke/diffusion!22
2022-06-17 18:19:26 +02:00
Max Lübke
7c31acc6f6 Merge branch '11-optimize-gitlab-ci' into 'main'
Resolve "Optimize gitlab-ci"

Closes #11

See merge request mluebke/diffusion!23
2022-06-17 18:01:50 +02:00
Max Lübke
99dab5f7f6 Remove unnecessary jobs and cleanup 2022-06-17 15:50:13 +02:00
Max Lübke
66bf67f6da Store grid dimensions inside class instance 2022-06-17 15:43:01 +02:00
Max Lübke
e985a2ec24 Merge branch '10-implement-getter-for-boundary-condition-as-vector' into 'main'
Resolve "Implement getter for boundary condition as vector"

Closes #10

See merge request mluebke/diffusion!21
2022-06-17 12:38:27 +02:00
Max Lübke
d46e697c71 Implement test cases 2022-06-17 12:19:54 +02:00
Max Lübke
bd59f4dd05 Add support for vector output/input 2022-06-17 12:11:44 +02:00
Max Lübke
c3a0188dac Merge branch '9-add-easy-setting-of-boundary-conditions' into 'main'
Resolve "Add simplified setting of boundary conditions"

Closes #9

See merge request mluebke/diffusion!20
2022-06-13 16:35:21 +02:00
Max Lübke
586990af45 Resolve "Add simplified setting of boundary conditions" 2022-06-13 16:35:21 +02:00
Max Lübke
ecca89cc4a Merge branch '6-document-implementation-of-2d-btcs-adi' into 'main'
Resolve "Document implementation of 2D BTCS ADI"

Closes #6

See merge request mluebke/diffusion!15
2022-05-16 15:58:17 +02:00
Max Lübke
a9594edf15 Resolve "Document implementation of 2D BTCS ADI" 2022-05-16 15:58:17 +02:00
Max Lübke
bdc1bd9c27 Merge branch '8-fix-2d-adi' into 'main'
Resolve "Fix 2D ADI"

Closes #8

See merge request mluebke/diffusion!17
2022-05-16 15:43:10 +02:00
Max Lübke
8f3b19b63a Resolve "Fix 2D ADI" 2022-05-16 15:43:10 +02:00
Max Lübke
ef84560719 Merge branch 'cleanup' into 'main'
Cleanup of application sources

See merge request mluebke/diffusion!19
2022-05-16 12:23:11 +02:00
Max Lübke
2e646a8330 Cleanup of application sources 2022-05-16 12:03:21 +02:00
Max Lübke
da79a35c55 Merge branch '7-document-usage-of-module' into 'main'
Resolve "Document usage of module"

Closes #7

See merge request mluebke/diffusion!18
2022-05-16 11:58:34 +02:00
Max Lübke
eb74d5f1ba Update README 2022-05-16 11:46:50 +02:00
Max Lübke
22f0a0b678 Update name of project/library 2022-05-16 11:34:56 +02:00
Max Lübke
7c12999085 Merge branch '5-set-values-less-than-machine-epsilon-to-0' into 'main'
Resolve "Set values less than machine epsilon to 0"

Closes #5

See merge request mluebke/diffusion!14
2022-05-09 10:00:13 +02:00
Max Lübke
9c3c478c63 Added comparison to machine epsilon when filling vector 2022-05-09 09:43:57 +02:00
Max Lübke
04cdadc23d Cleanup headers 2022-05-09 09:39:46 +02:00
Max Lübke
065a30eb76 Merge branch 'spatial_fix' into 'main'
Fix spatial discretization on outer cells of inlet

See merge request mluebke/diffusion!13
2022-04-27 14:26:04 +02:00
Max Luebke
b2bbd28175 Fix clang-tidy suggestions 2022-04-27 14:12:43 +02:00
Max Lübke
56e70efd1e Update CI file to build apps with debug symbols 2022-04-27 12:54:01 +02:00
Max Lübke
437ab1b10b Update .gitlab-ci.yml file 2022-04-27 12:50:37 +02:00
Max Lübke
9706d9a4b1 Fix indexiation of bc field 2022-04-27 12:39:01 +02:00