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
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
e2707858c1
Refactor loop of filling of matrix A.
...
- make now use of another variable 'j' for c, bc and alpha indexing
instead of always incrementing with =i= and the negation of =left_is_constant=
2022-02-03 15:10:03 +01:00
Max Luebke
e3d10336a9
Added support for constant cells inside the grid.
2022-02-03 15:07:49 +01:00
Max Luebke
54d1a396f4
Move output from library to test application
2022-01-27 10:16:27 +01:00
Max Luebke
9bce8be092
Update getter/setters for grid specification
2022-01-27 10:11:47 +01:00
Max Luebke
38b4bd0fb2
Update resizing of boundary condition vector
2022-01-27 09:58:39 +01:00
Max Luebke
0828da7a09
Fix boundary condition memory allocation
2022-01-27 09:54:13 +01:00
Max Lübke
6f0fd990da
Merge branch 'boundary' into 'dev'
...
New use of boundary conditions
See merge request mluebke/diffusion!4
2022-01-25 09:59:37 +01:00
Max Luebke
6308cd52af
Fix uncommenting solving function.
...
Now x is actually solved with the help of the equation system.
2022-01-25 09:55:54 +01:00
Max Luebke
f6dbc3fb16
Fix loop indexiation
2022-01-24 12:28:29 +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
3fa39fdc36
update main + library variables
...
STILL NO RUNNABLE CODE!
2022-01-17 14:33:43 +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
89a01d3e13
Merge remote-tracking branch 'origin/dev' into boundary
2021-12-13 19:45:52 +01:00
Max Luebke
1940a64574
update README
2021-12-13 19:44:20 +01:00
Max Lübke
69d6c7da57
Merge branch 'boundary' into 'dev'
...
Implemented 1D diffusion with new data structure
See merge request mluebke/diffusion!3
2021-12-13 19:39:22 +01:00
Max Lübke
816a1cc67a
Implemented 1D diffusion with new data structure
2021-12-13 19:39:22 +01:00
Max Luebke
a1bdcf84a7
cleanup of main file
2021-12-13 19:38:38 +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
30a9dbafb8
update gitignore
2021-12-13 14:13:58 +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
1bde33cd79
avoid return of unitialized variable
2021-12-13 13:48:21 +01:00
Max Luebke
e625455923
cleanup
2021-12-13 13:47:32 +01:00
Max Luebke
74ab002d49
change datatype of tuple in constructor
2021-12-13 13:26:04 +01:00
Max Luebke
496e4ee3bc
use internal boundary condition mechanism
2021-12-13 13:23:42 +01:00
Max Luebke
0a5c271a4b
change values of bc @ A and b
2021-12-06 20:18:33 +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
c3e886bb07
Merge branch 'dev' into boundary
2021-12-06 13:50:24 +01:00
Max Luebke
f5c926e08d
rewrite some function signatures and scopes (NOT RUNNABLE)
2021-12-06 13:48:27 +01:00
Max Lübke
b41ad0659c
Merge branch 'ml' into 'dev'
...
update README
See merge request mluebke/diffusion!2
2021-12-06 11:22:20 +01:00
Max Luebke
c46ad15c60
update README
2021-12-06 11:17:37 +01:00
Max Lübke
ef831a2cd4
Merge branch 'ml' into 'dev'
...
Implemented 1D Diffusion
See merge request mluebke/diffusion!1
2021-12-02 11:19:56 +01:00