diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-03-03 16:52:53 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-03-03 16:52:53 +0100 |
| commit | 77afc46bf0cb5169edbec626a7c60996c81b2154 (patch) | |
| tree | 0b035ab295ceff5711f960a1d6527ae4d7c7d891 /lib | |
| parent | 8be0ee7f948c52c1e71e2437bf6e15800daca47d (diff) | |
| download | libs-lbm-77afc46bf0cb5169edbec626a7c60996c81b2154.tar.gz | |
Confusion about Boundary conditions
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/core/c++/geometry.hpp | 13 | ||||
| -rw-r--r-- | lib/core/c++/geometry/poiseulle_channel.hpp | 15 | ||||
| -rw-r--r-- | lib/core/c++/particle/blur.hpp | 1 |
3 files changed, 15 insertions, 14 deletions
diff --git a/lib/core/c++/geometry.hpp b/lib/core/c++/geometry.hpp index c8a48a6..1c5d0a3 100644 --- a/lib/core/c++/geometry.hpp +++ b/lib/core/c++/geometry.hpp @@ -12,19 +12,6 @@ struct geometry { } }; */ -namespace cmpt { -struct PoiseulleChannel; -} - -template<typename Schema, typename Desc, typename Encode> -class component<Schema, Desc, cmpt::PoiseulleChannel, Encode> final { -private: -public: - template<typename CellFieldSchema> - void apply(saw::data<CellFieldSchema,Encode>& field, const saw::data<sch::FixedArraysch::UInt64,Desc::D>){ - auto& info_f = field.template get<"info">(); - } -}; // Ghost - 0 // Wall - 1 diff --git a/lib/core/c++/geometry/poiseulle_channel.hpp b/lib/core/c++/geometry/poiseulle_channel.hpp index f675a99..f719ec4 100644 --- a/lib/core/c++/geometry/poiseulle_channel.hpp +++ b/lib/core/c++/geometry/poiseulle_channel.hpp @@ -1,7 +1,22 @@ #pragma once +#include "../geometry.hpp" + namespace kel { namespace lbm { +namespace cmpt { +struct PoiseulleChannel; +} + +template<typename Schema, typename Desc, typename Encode> +class component<Schema, Desc, cmpt::PoiseulleChannel, Encode> final { +private: +public: + template<typename CellFieldSchema> + void apply(saw::data<CellFieldSchema,Encode>& field, const saw::data<sch::FixedArraysch::UInt64,Desc::D>){ + auto& info_f = field.template get<"info">(); + } +}; } } diff --git a/lib/core/c++/particle/blur.hpp b/lib/core/c++/particle/blur.hpp index a304e8d..7b93ae9 100644 --- a/lib/core/c++/particle/blur.hpp +++ b/lib/core/c++/particle/blur.hpp @@ -31,7 +31,6 @@ void blur_mask(saw::data<sch::Array<T,D>>& p_mask){ p_mask = blurred_mask; } - } } } |
