33 Commits

Author SHA1 Message Date
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
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
d7e240c6a8 Refactor simulate function signature 2022-02-28 14:10:53 +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
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
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
f76d775050 Implement one step of 2D diffusion 2022-02-10 15:06:36 +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
f4253f2e6a Replace internal handling of vectors by Eigen library members 2022-02-08 11:22:18 +01:00
Max Luebke
55adc41e61 Refactor code and rebase code to solve LES into function.
- Also created new condition if dimension is 2 @ simulate
2022-02-04 09:57:28 +01:00
Max Luebke
83d11d44e1 Cleanup and refactoring of library.
- Update doxygen compatible comments for all public methods of BTCSDiffusion
- Remove commented code lines as we do noit need them anymore.
- Added comments at key points at source file of BTCSDiffusion.
- Refactor main.cpp to new function signature of =setBoundaryCondtion=
2022-02-03 15:37:10 +01:00
Max Luebke
9bce8be092 Update getter/setters for grid specification 2022-01-27 10:11:47 +01:00
Max Luebke
2cd8a1e5d8 Update simulation loop to new indexing 2022-01-21 14:09:30 +01:00
Max Luebke
5606b559c7 Refactor variable names 2022-01-20 11:01:20 +01:00
Max Luebke
e675381683 Change boundary_condition to struct instead of tuple 2022-01-20 09:41:34 +01:00
Max Luebke
c3d82afed4 swap typedefs into class definition 2022-01-20 09:36:31 +01:00
Max Luebke
52c1f472f6 rewrite to runnable code 2022-01-19 18:07:25 +01:00
Max Luebke
29fc70ce1a rewrite initialization of module
ATTENTION: code will throw errors on compilation!
2022-01-17 14:23:43 +01:00
Max Luebke
e8dae917d5 replace names of boundary condition variables 2022-01-14 12:36:39 +01:00
Max Luebke
ca0fe9678b implement changes as discussed in meeting on 12-13-2021 2021-12-13 19:36:06 +01:00
Max Luebke
7cb18e62c1 update header files 2021-12-13 14:13:48 +01:00
Max Luebke
dcecc2dd72 added comments for public methods 2021-12-13 13:59:08 +01:00
Max Luebke
496e4ee3bc use internal boundary condition mechanism 2021-12-13 13:23:42 +01:00
Max Luebke
76640da6cb set boundary conditions hard 2021-12-06 20:16:08 +01:00
Max Luebke
8d27274101 use private datatypes to adress solver matrix 2021-12-06 20:03:40 +01:00
Max Luebke
f5c926e08d rewrite some function signatures and scopes (NOT RUNNABLE) 2021-12-06 13:48:27 +01:00
Max Luebke
971f8212af Added comments 2021-12-02 09:25:34 +01:00
Max Luebke
57a0e8a1a6 fix some cmake bugs 2021-11-23 15:22:46 +01:00
Max Luebke
f2e80c2c48 implement 1D diffusion as class 2021-11-23 14:56:52 +01:00