146 Commits

Author SHA1 Message Date
Max Luebke
1fb3b85b65 Apply new scheme to model (only 1D) 2022-04-20 09:55:38 +02:00
Max Luebke
777d75baa5 Checkout files from age 2022-04-20 09:34:32 +02:00
Max Luebke
7b36225bd6 Update app to new API 2022-04-19 10:49:18 +02:00
Max Luebke
ad6e1ad616 Allow boundary conditions in ghost nodes too 2022-04-19 10:39:37 +02:00
Max Luebke
9faa4e79bb Prepare setup of matrix A for new equation 2022-04-06 09:50:08 +02:00
Max Luebke
fedd80aa0c Raise CXX standard from 14 to 17 2022-04-05 20:48:23 +02:00
Marco De Lucia
f5d59c5355 Commented out cxx flag settings in CMakeLists.txt to let CI work normally 2022-04-05 18:06:48 +02:00
Marco De Lucia
15e1883909 Added cxx flags -O2 -mfma to CMakeLists - ENORMOUS SPEEDUP 2022-04-05 16:47:36 +02:00
Max Lübke
1c86a7e5b3 Merge branch 'parallel' into 'main'
Parallelizing of 2D simulation

See merge request mluebke/diffusion!10
2022-04-05 11:49:03 +02:00
Max Luebke
40519a339c Restructure project dir 2022-03-25 12:52:49 +01:00
Max Luebke
dd96bb9bf1 Added optional usage of OpenMP 2022-03-25 11:28:00 +01:00
Marco De Lucia
abc0a5713b Added Rcpp-BTCS-{1d,2d}.cpp for clarity 2022-03-16 14:02:50 +01:00
Marco De Lucia
3ee1cd999c Tweaked some stuff in app/Rcpp-interfaceR and FTCS 2022-03-15 18:33:17 +01:00
Marco De Lucia
fcef9553c9 Added some comparisons in app: RcppFTCS.cpp & Rcpp-interface.{R, cpp} 2022-03-15 18:06:39 +01:00
Max Luebke
97f31887ea Added OpenMP pragmas to library. 2022-03-09 13:14:22 +01:00
Max Luebke
c2211c8a6f Use local matrices and vectors.
- Subsitute private members of Eigen matrices and vectors by local
variables in `simulate_base`
2022-03-09 11:22:53 +01:00
Max Lübke
1cc6b247b9 Merge branch 'timer' into 'main'
Adding timer to simulate

See merge request mluebke/diffusion!9
2022-03-09 09:35:15 +01:00
Max Lübke
dd3ade2b2c Adding timer to simulate 2022-03-09 09:35:15 +01:00
Max Lübke
a24c26beb0 Merge branch '2D' into 'main'
Implementing 2D ADI-BTCS

See merge request mluebke/diffusion!5
2022-03-08 15:05:22 +01:00
Max Luebke
b4b880b8b5 squash! Adding some comments to library header.
Merge branch '2D' of git.gfz-potsdam.de:mluebke/diffusion into 2D
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2022-03-08 15:02:22 +01:00
Max Luebke
d86f20456d Adding some comments to library header. 2022-03-08 14:59:02 +01:00
Max Lübke
402405efdf Fix broken pipeline by setting new directory of applications. 2022-03-08 14:58:14 +01:00
Max Luebke
caae08176b Move application files to app dir 2022-03-08 14:49:56 +01:00
Max Luebke
aea4c91e7a Checkout Comp.R from mdl branch 2022-03-02 12:28:36 +01:00
Marco De Lucia
b0944bfba9 Added Comp2D.R and main_2D_mdl.cpp (src/CMakeLists.txt accordingly updated 2022-03-02 11:07:44 +01:00
Max Luebke
aea3a7afc3 Fix tidy infos in library. 2022-03-01 19:50:15 +01:00
Max Luebke
374a7ef9d9 Use range based loop for output. 2022-03-01 19:48:18 +01:00
Max Luebke
2465911659 Merge branch '2D' of git.gfz-potsdam.de:mluebke/diffusion into 2D 2022-03-01 19:44:35 +01:00
Max Luebke
1f44e69e33 Rename test application of 1D diffusion to '1D'. 2022-03-01 19:42:10 +01:00
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