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 Lübke
9461ebd8f3
test: add new test case for diffusion module
...
Test case defines a 2D grid with closed boundaries and 1 constant cell
in the middle.
Every other cell is set to 0.
After each iteration the sum of all cells must be greater in comparison
to the previous state of field.
2022-08-16 15:24:08 +02:00
Max Lübke
be50ae4777
test: add tests for inner boundary conditions
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
fd7e2f5b63
build: fetch doctest during configuration
2022-08-16 11:30:35 +00: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
d46e697c71
Implement test cases
2022-06-17 12:19:54 +02:00
Max Lübke
586990af45
Resolve "Add simplified setting of boundary conditions"
2022-06-13 16:35:21 +02:00