147 Commits

Author SHA1 Message Date
philippun
22d7ce45f7 added basic structure to allow for separate boundary condition types at each boundary cell later on 2023-07-24 17:56:38 +02:00
philippun
69ca773afa added stub function for vertical change in closed case 2023-07-24 16:14:26 +02:00
philippun
58f620e6b9 added function 2023-07-24 16:03:31 +02:00
philippun
c3461a46fa removed in progress commentary 2023-07-24 15:42:28 +02:00
philippun
be94e760af Refactoring of function calc_alpha_intercell into calcAlphaIntercell and adjusting of example parameters 2023-07-24 15:40:30 +02:00
philippun
0ebc8d30e8 implemented the 1D FTCS case and created an example prototype 2023-07-22 14:02:44 +02:00
philippun
ef01e3f473 added functions for the summands of the different directions 2023-07-20 16:09:59 +02:00
philippun
b7561b93e0 changed type auto to specific type 2023-07-20 14:59:31 +02:00
philippun
d88d7956a5 calculated several examples and implemented csv out 2023-07-20 11:47:24 +02:00
philippun
67f289c1f8 fixed several bugs in FTCS_2D_proto_example and improved readability 2023-07-19 16:24:13 +02:00
philippun
d457c2b9a7 fixed Eigen implementation bugs 2023-07-19 11:19:00 +02:00
Hannes Signer
99925dbd4f remove bug because of Matrix2d and Vector2d 2023-07-19 00:35:51 +02:00
philippun
542601fdcd implemented Simulation with FTCS and tried a first example 2023-07-18 17:14:16 +02:00
philippun
0a9b58e8ff implementing FTCS 2023-07-18 15:27:17 +02:00
philippun
b93dc46aed implemeted simulation.cpp with run() 2023-07-18 11:43:33 +02:00
philippun
da65be3cca implemented Boundary 2023-07-18 11:02:16 +02:00
Hannes Signer
01a589889f change: Boundardy.hpp, Grd.hpp, Simulation.hpp, Boundary.cpp, Grid.cpp | change constructors 2023-07-14 00:02:49 +02:00
philippun
2ab924a162 added basic functionality to Grid and Boundary 2023-07-13 15:52:56 +02:00
philippun
470ebbd2ab add: Boundary.cpp, FTCS.cpp, Grid.cpp, Simulation.cpp | added implementations files, changed simulation.hpp 2023-07-13 14:41:12 +02:00
philippun
ecd3e95477 commentary 2023-06-08 15:58:30 +02:00
philippun
c798c61706 additional example 2023-06-06 10:10:12 +02:00
philippun
165e72e978 added some commentary with TODOs and questions 2023-05-31 12:33:49 +02:00
Max Lübke
f24ce43f5a fix: remove bits/* header 2023-05-03 12:11:13 +02:00
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