20 Commits

Author SHA1 Message Date
Max Lübke
592f59dbc5 perf: represent inner boundary conditions with a std::map
refactor: inner boundary conditions are now accessible via methods

test: update test cases
2022-09-08 12:46:26 +02:00
Max Lübke
94e83b5eb8 feat: allow undefined boundary conditions
It is now possible to not define any boundary condition object.

In this case a grid with closed boundary conditions is assumed during
diffusion simulation.

refactor: various adjustments according to clang-tidy
2022-09-08 11:53:25 +02:00
Max Lübke
02a9531544 feat: add helper functions to TugInput struct 2022-09-01 16:43:14 +02:00
Max Luebke
e482d71779 feat: Remove class BTCSDiffusion
BREAKING CHANGE: Functionality is now provided by function calls and
scheme generation is decoupled from LEqS solving.
2022-09-01 16:43:14 +02:00
Max Lübke
c99f770182 refactor: move BoundaryCondition header and source 2022-08-17 12:07:21 +02:00
Max Lübke
1822bcd98d refactor: rename BoundaryCondition class 2022-08-17 12:05:16 +02:00
Max Lübke
bdd56bec82 refactor: rename and expand namespace 2022-08-17 11:58:18 +02:00
Max Luebke
f9280b1274 feat: support for inner closed cells in diffusion module 2022-08-16 15:22:32 +02:00
Max Lübke
37c2dd70ec refactor: remove BTCSUtils header from include API 2022-08-16 15:22:32 +02:00
Max Lübke
b6eb212bcb feat: add setting of inner boundary conditions
It is possible to define inner grid cells with a type of either CLOSED,
FLUX, CLOSED or UNSET.
2022-08-16 15:22:32 +02:00
Max Lübke
efed757a9e style: Use enumerations for macros and use more useful function names
Update the pre-compiler macros defined by `BTCSBoundaryCondition` to enumerations. 

Update method names for getting row and column boundary conditions.
2022-08-12 21:16:43 +02:00
Max Lübke
02e65afb60 Move includes 2022-08-12 13:06:36 +00:00
Max Lübke
b2157b8722 Fix output of exceptions 2022-08-04 14:54:38 +02:00
Max Lübke
10a1f2757b Improve excpetion description 2022-06-22 13:19:03 +02:00
Max Lübke
66bf67f6da Store grid dimensions inside class instance 2022-06-17 15:43:01 +02:00
Max Lübke
bd59f4dd05 Add support for vector output/input 2022-06-17 12:11:44 +02:00
Max Lübke
586990af45 Resolve "Add simplified setting of boundary conditions" 2022-06-13 16:35:21 +02:00
Max Lübke
8f3b19b63a Resolve "Fix 2D ADI" 2022-05-16 15:43:10 +02:00
Max Luebke
b2bbd28175 Fix clang-tidy suggestions 2022-04-27 14:12:43 +02:00
Max Luebke
40519a339c Restructure project dir 2022-03-25 12:52:49 +01:00