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 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
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
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
f5c926e08d
rewrite some function signatures and scopes (NOT RUNNABLE)
2021-12-06 13:48:27 +01:00
Max Luebke
3562f30efa
change dx to 1/n-1
2021-12-02 10:51:47 +01:00
Max Luebke
971f8212af
Added comments
2021-12-02 09:25:34 +01:00
Max Luebke
eb595bc0a3
Use LU solver instead of QR
2021-12-01 18:03:17 +01:00
Max Luebke
85278bcaff
cleanup code
2021-12-01 18:02:08 +01:00
Max Luebke
96a2d1cc5b
remove old library files
2021-12-01 18:00:11 +01:00
Max Luebke
57a0e8a1a6
fix some cmake bugs
2021-11-23 15:22:46 +01:00
Max Luebke
9461dad147
added test executable
2021-11-23 15:10:51 +01:00
Max Luebke
f2e80c2c48
implement 1D diffusion as class
2021-11-23 14:56:52 +01:00
Max Luebke
3fa31a8f40
push old state
2021-11-23 14:12:37 +01:00
Max Lübke
d188575105
implement 1D
2021-11-11 11:53:14 +01:00
Max Lübke
8dff22c7bf
1105
2021-11-05 11:05:19 +01:00
Max Lübke
00dad33b0f
use new indexing method for linear system
2021-11-05 10:07:54 +01:00
Max Lübke
2f728caa66
changed the solver, now it is running still no valid solution
2021-10-26 15:01:39 +02:00
Max Lübke
72f527a59b
still an error inside indexing of sparse matrices
2021-10-26 13:30:55 +02:00
Max Lübke
4353cdc133
added test library
2021-10-26 11:55:08 +02:00
Max Lübke
04763406cb
udpate header + function
2021-10-26 11:54:08 +02:00
Max Lübke
0dea11744f
create and provide basic function of BTCS2D
2021-10-26 10:28:42 +02:00
Max Lübke
d9d6534b40
added CMake files
2021-10-18 14:32:00 +02:00