diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-07-05 15:59:23 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-07-05 15:59:23 +0200 |
| commit | c0549d71b2109f10c1238db8b22362e7826ba61b (patch) | |
| tree | 16cd5264fcc3afe912e1b1b67738c8940d6d1177 /lib/core/c++/grid.hpp | |
| parent | 9a3147bc79caf3c0fb1a9cdee29d156b5ff092c7 (diff) | |
| download | libs-lbm-c0549d71b2109f10c1238db8b22362e7826ba61b.tar.gz | |
Just rename from lib to modules
Diffstat (limited to 'lib/core/c++/grid.hpp')
| -rw-r--r-- | lib/core/c++/grid.hpp | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/lib/core/c++/grid.hpp b/lib/core/c++/grid.hpp deleted file mode 100644 index c9a3b05..0000000 --- a/lib/core/c++/grid.hpp +++ /dev/null @@ -1,34 +0,0 @@ -#pragma once - -#include "common.hpp" - -namespace kel { -namespace lbm { - -/** - * I'm mixing up the geometry values regarding inflow etc. And a bit of logic - */ -template<typename InfoSchema> -class domain_registry final { -private: - saw::data<sch::Array<InfoSchema>> infos_; -public: - template<typename T> - saw::data<InfoSchema> get_template_id() { - static saw::data<InfoSchema> id{std::numeric_limits<typename saw::native_data_type<InfoSchema>::type>::max()}; - - if( id == std::numeric_limits<typename saw::native_data_type<InfoSchema>::type>::max() ){ - auto err_or_id = search_or_register_id(T::name); - if(err_or_id.is_error()){ - // Unsure about recovery from this - exit(-1); - } - } - } -}; - -template<typename Schema> -void clean_grid(saw::data<Schema>& info_field){ -} -} -} |
