517 Commits

Author SHA1 Message Date
Max Lübke
1893929019 Added valgrind memcheck to CI. 2022-03-01 17:35:40 +01:00
Max Luebke
ec4bdf6a37 Refactor code for better style 2022-03-01 15:34:56 +01:00
Max Lübke
f0f73d417c Update .gitlab-ci.yml file 2022-03-01 14:13:04 +01:00
Max Lübke
7ede42fb1a Update .gitlab-ci.yml file 2022-03-01 14:09:54 +01:00
Max Lübke
3f1747fba9 Merge branch 'row_wise_2D' into '2D'
Implemented diffusion row-wise.

See merge request mluebke/diffusion!8
2022-03-01 14:07:45 +01:00
Max Luebke
d4a8726151 Implement 2D-row-wise in both directions 2022-03-01 14:05:23 +01:00
Max Luebke
9c1afe8e2d Implement 2D-row-wise in one direction 2022-03-01 13:56:55 +01:00
Max Luebke
9d3ee1f913 Use simulate_base for actual solving of les. 2022-03-01 13:14:26 +01:00
Max Luebke
d0072f9f32 Revert to commit d65fcd4. 2022-03-01 13:03:49 +01:00
Max Luebke
fb5ee6431e Update: also pass t0_c to simulate_1D 2022-03-01 11:38:08 +01:00
Max Luebke
a5a66f1403 Update: pass additional information as parameter to simulate1D 2022-03-01 11:25:13 +01:00
Max Luebke
9ec382877e Fix function parameters.
- Use private data types instead of plain Eigen types
2022-03-01 11:19:06 +01:00
Max Luebke
d0b75496c7 Remove simulate_base function. 2022-03-01 11:18:55 +01:00
Max Luebke
d65fcd453b Upodate .gitlab-ci to run lint only @ main 2022-03-01 11:10:08 +01:00
Max Luebke
b7b37e9231 Update indexing + Bug fix
- Wrong stopping criteria @ filling of matrix
- Fill left and right side of b_vector with values from c instead of b_vector
2022-03-01 11:08:24 +01:00
Max Luebke
9a760bd9d9 Rewrite simulate1D function 2022-02-28 20:23:50 +01:00
Max Luebke
6f9d344cee Added new function simulate_base.
- With this new function we abstract the actual filling of the A_Matrix
and b_vector into processes which are indepent of the dimension.

- This code will not run and so the pipeline will fail.
2022-02-28 15:09:46 +01:00
Max Lübke
6408fd89fe Update .gitlab-ci.yml file 2022-02-28 14:27:06 +01:00
Max Lübke
79ac2baa01 Update .gitlab-ci.yml file 2022-02-28 14:26:53 +01:00
Max Lübke
185c4ae4ba Update .gitlab-ci.yml file 2022-02-28 14:24:20 +01:00
Max Lübke
49128f922d Update .gitlab-ci.yml 2022-02-28 14:22:02 +01:00
Max Lübke
4a65da7af5 Merge branch 'main' into '2D'
# Conflicts:
#   src/BTCSDiffusion.cpp
2022-02-28 13:12:08 +00:00
Max Lübke
0ebdbe638d Merge branch 'func_signature' into '2D'
Refactor simulate function signature

See merge request mluebke/diffusion!7
2022-02-28 14:10:53 +01:00
Max Lübke
d7e240c6a8 Refactor simulate function signature 2022-02-28 14:10:53 +01:00
Max Lübke
1d72dc1b6d Merge branch 'domain_size_fix' into 'main'
Fix wrong domain_size datatype

See merge request mluebke/diffusion!6
2022-02-21 17:47:00 +01:00
Max Luebke
21bb3d1338 Fix wrong domain_size datatype 2022-02-21 12:08:13 +01:00
Max Luebke
893a2856c7 Add CI
commit 8a0d9cea8121f62ea518a9ab2c48ffc334104ecd
Author: Max Lübke <mluebke@gfz-potsdam.de>
Date:   Tue Feb 15 20:31:32 2022 +0100

    Added tidy analyzer options

commit bd59a32420acb282ceba80c13e1f727d1ae3a767
Author: Max Lübke <mluebke@gfz-potsdam.de>
Date:   Tue Feb 15 11:09:33 2022 +0100

    Update .gitlab-ci.yml file

commit ccfcec4f9c0c43341f3b73f2da8ac83ee67e35dc
Author: Max Lübke <mluebke@gfz-potsdam.de>
Date:   Tue Feb 15 10:55:08 2022 +0100

    Update .gitlab-ci.yml file

commit c2da2361e0e152a8fd51f0e89ab4fb0afbad57a1
Author: Max Lübke <mluebke@gfz-potsdam.de>
Date:   Tue Feb 15 10:47:40 2022 +0100

    Update .gitlab-ci.yml file

commit 6c10f3b42ae3479f747aab012f7411d48493c426
Author: Max Lübke <mluebke@gfz-potsdam.de>
Date:   Tue Feb 15 10:47:16 2022 +0100

    Update .gitlab-ci.yml file

commit 8f96ccc33556d97e5d37fd448b3f12e024777274
Author: Max Lübke <mluebke@gfz-potsdam.de>
Date:   Tue Feb 15 10:46:25 2022 +0100

    Update .gitlab-ci.yml file

commit afdb0447625d35d6ca989744e94a44f90392d1c7
Author: Max Lübke <mluebke@gfz-potsdam.de>
Date:   Tue Feb 15 10:44:56 2022 +0100

    Update .gitlab-ci.yml file
2022-02-18 11:14:56 +01:00
Marco De Lucia
89e6345e7e Merge branch '2D' of git.gfz-potsdam.de:mluebke/diffusion into 2D 2022-02-18 10:13:13 +01:00
Marco De Lucia
d2b0ad8d60 Some orgmode tweaks in doc 2022-02-18 10:12:58 +01:00
Max Luebke
d2866c271f Fix wrong function signature in implementation 2022-02-17 17:43:27 +01:00
Max Luebke
5f4d812681 Added CI support
Squashed commit of the following:

commit 8a0d9cea8121f62ea518a9ab2c48ffc334104ecd
Author: Max Lübke <mluebke@gfz-potsdam.de>
Date:   Tue Feb 15 20:31:32 2022 +0100

    Added tidy analyzer options

commit bd59a32420acb282ceba80c13e1f727d1ae3a767
Author: Max Lübke <mluebke@gfz-potsdam.de>
Date:   Tue Feb 15 11:09:33 2022 +0100

    Update .gitlab-ci.yml file

commit ccfcec4f9c0c43341f3b73f2da8ac83ee67e35dc
Author: Max Lübke <mluebke@gfz-potsdam.de>
Date:   Tue Feb 15 10:55:08 2022 +0100

    Update .gitlab-ci.yml file

commit c2da2361e0e152a8fd51f0e89ab4fb0afbad57a1
Author: Max Lübke <mluebke@gfz-potsdam.de>
Date:   Tue Feb 15 10:47:40 2022 +0100

    Update .gitlab-ci.yml file

commit 6c10f3b42ae3479f747aab012f7411d48493c426
Author: Max Lübke <mluebke@gfz-potsdam.de>
Date:   Tue Feb 15 10:47:16 2022 +0100

    Update .gitlab-ci.yml file

commit 8f96ccc33556d97e5d37fd448b3f12e024777274
Author: Max Lübke <mluebke@gfz-potsdam.de>
Date:   Tue Feb 15 10:46:25 2022 +0100

    Update .gitlab-ci.yml file

commit afdb0447625d35d6ca989744e94a44f90392d1c7
Author: Max Lübke <mluebke@gfz-potsdam.de>
Date:   Tue Feb 15 10:44:56 2022 +0100

    Update .gitlab-ci.yml file
2022-02-17 17:39:23 +01:00
Max Luebke
78ef8c2833 Update calculation of t0_c
- Added time dependency by multiplying spacial context with current time step
2022-02-17 17:15:05 +01:00
Max Luebke
0dad4f93fd Change loop index variable 2022-02-17 16:43:04 +01:00
Max Luebke
b3e0f7987b Update doc/.gitignore 2022-02-17 10:47:40 +01:00
Max Luebke
79f0ded6b0 Added org document of filling scheme 2022-02-17 10:46:16 +01:00
Max Luebke
f296bd93a1 Increase iterations to 10 2022-02-17 09:26:42 +01:00
Max Luebke
6661a8cbd4 Refactoring function name + signature
- domain_size is now double value
- fillVectorFromRow2D renamed to fillVectorFromRowADI
2022-02-17 09:19:09 +01:00
Max Luebke
e1a08ea555 Use Eigen::Matrix for internal BC representation 2022-02-14 16:46:49 +01:00
Max Luebke
08dba0975b Refactor loop breakout to same syntax as in fillMatrix 2022-02-11 17:38:39 +01:00
Max Luebke
6ea3bf0182 Fix indexing of boundary condition vector 2022-02-11 17:37:41 +01:00
Max Luebke
b985707d2c Update output of test application 2022-02-11 14:08:40 +01:00
Max Luebke
719855288e Implented second half of ADI-BTCS 2022-02-11 13:53:55 +01:00
Max Luebke
05d3cfdc3c Implemented first step of 2D ADI-BTCSDiffusion
- defined important matrices + vectors as row-major matrices
2022-02-11 13:45:04 +01:00
Max Luebke
cda16b7744 Attempt to solve write back to c vector input
- Solution already looks good to me (in x-direction)
2022-02-10 15:34:07 +01:00
Max Luebke
dc5bc42bb8 Remove unnecessary output 2022-02-10 15:13:58 +01:00
Max Luebke
f76d775050 Implement one step of 2D diffusion 2022-02-10 15:06:36 +01:00
Max Luebke
3f2ff635ea index on 2D: d4b6a95 Implement function to fill A matrix from one row of input 2022-02-10 12:48:16 +01:00
Max Luebke
d4b6a95bc3 Implement function to fill A matrix from one row of input 2022-02-08 13:01:18 +01:00
Max Luebke
93a84fa624 Merge branch 'eigen_datatructures' into 2D 2022-02-08 11:33:16 +01:00
Max Luebke
8de34ad65b Replace copying of output vector by oneliner 2022-02-08 11:28:57 +01:00