Max Luebke
79d7a32fc2
fix: conversion of inner index when using inner boundary conditions
2023-01-24 12:01:56 +01:00
Max Lübke
d4e3ab8544
perf: remove OpenMP pragma from ortho calc, since we already forked
...
OpenMP threads in 2D ADI
2023-01-06 16:18:06 +01:00
Max Lübke
6120acdaf4
refactor: move includes into subdirectory 'tug'
2022-09-08 14:21:52 +02:00
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 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
97889cde5e
fix: grid dimensions were stored and accessed incorrectly
2022-08-24 14:48:46 +02:00
Max Lübke
c96655241f
docs: Update and extending README
...
build: Set internal variables to new project name
ci: Use new CMake variables as basis
2022-08-23 11:35:08 +02:00
Max Lübke
baaa85182f
build: remove BoundaryCondition as extra library
2022-08-17 12:13:57 +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 Lübke
b7c9dbb535
style: fix various code style recommendations from clang
2022-08-16 15:35:14 +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
45c5e7bdfe
Add "BTCS" as suffix to CMake options
2022-08-01 15:54:15 +02:00
Max Lübke
10a1f2757b
Improve excpetion description
2022-06-22 13:19:03 +02:00
Max Lübke
3d6c1e6713
Update 1D constructor + allow row() on 1D grids
2022-06-22 13:00:41 +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 Lübke
22f0a0b678
Update name of project/library
2022-05-16 11:34:56 +02:00
Max Lübke
9c3c478c63
Added comparison to machine epsilon when filling vector
2022-05-09 09:43:57 +02:00
Max Lübke
04cdadc23d
Cleanup headers
2022-05-09 09:39:46 +02:00
Max Luebke
b2bbd28175
Fix clang-tidy suggestions
2022-04-27 14:12:43 +02:00
Max Lübke
9706d9a4b1
Fix indexiation of bc field
2022-04-27 12:39:01 +02:00
Max Lübke
d35a27f54a
Apply 2D scheme to model
2022-04-26 13:29:12 +02:00
Max Luebke
e9a1d06784
Apply new scheme to model (only 1D)
2022-04-26 10:28:44 +02:00
Max Luebke
ad6e1ad616
Allow boundary conditions in ghost nodes too
2022-04-19 10:39:37 +02:00
Max Luebke
9faa4e79bb
Prepare setup of matrix A for new equation
2022-04-06 09:50:08 +02:00
Max Luebke
40519a339c
Restructure project dir
2022-03-25 12:52:49 +01:00
Max Luebke
dd96bb9bf1
Added optional usage of OpenMP
2022-03-25 11:28:00 +01:00
Max Luebke
97f31887ea
Added OpenMP pragmas to library.
2022-03-09 13:14:22 +01:00
Max Luebke
c2211c8a6f
Use local matrices and vectors.
...
- Subsitute private members of Eigen matrices and vectors by local
variables in `simulate_base`
2022-03-09 11:22:53 +01:00
Max Lübke
dd3ade2b2c
Adding timer to simulate
2022-03-09 09:35:15 +01:00
Max Luebke
d86f20456d
Adding some comments to library header.
2022-03-08 14:59:02 +01:00
Max Luebke
caae08176b
Move application files to app dir
2022-03-08 14:49:56 +01:00
Marco De Lucia
b0944bfba9
Added Comp2D.R and main_2D_mdl.cpp (src/CMakeLists.txt accordingly updated
2022-03-02 11:07:44 +01:00
Max Luebke
aea3a7afc3
Fix tidy infos in library.
2022-03-01 19:50:15 +01:00
Max Luebke
374a7ef9d9
Use range based loop for output.
2022-03-01 19:48:18 +01:00
Max Luebke
1f44e69e33
Rename test application of 1D diffusion to '1D'.
2022-03-01 19:42:10 +01:00
Max Luebke
ec4bdf6a37
Refactor code for better style
2022-03-01 15:34:56 +01:00
Max Luebke
d4a8726151
Implement 2D-row-wise in both directions
2022-03-01 14:05:23 +01:00
Max Luebke
9c1afe8e2d
Implement 2D-row-wise in one direction
2022-03-01 13:56:55 +01:00
Max Luebke
9d3ee1f913
Use simulate_base for actual solving of les.
2022-03-01 13:14:26 +01:00
Max Luebke
d0072f9f32
Revert to commit d65fcd4.
2022-03-01 13:03:49 +01:00