diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-08-12 17:32:39 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-08-12 17:32:39 +0200 |
| commit | a1afab28506cbb52da8229b84a146fbf30c4a4ce (patch) | |
| tree | e9144143e372ac4f4682c5c50d5fb44c9fec2f0a /c++ | |
| parent | eec5df246866a4a1008b37fef0a96d4be5fa9c79 (diff) | |
| download | libs-lbm-a1afab28506cbb52da8229b84a146fbf30c4a4ce.tar.gz | |
End of day, building util funcs
Diffstat (limited to 'c++')
| -rw-r--r-- | c++/util.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/c++/util.hpp b/c++/util.hpp new file mode 100644 index 0000000..a215cc1 --- /dev/null +++ b/c++/util.hpp @@ -0,0 +1,13 @@ +#pragma once + +namespace kel { +namespace lbm { +template<typename T, typename Descriptor> +struct is_neighbour { + template<typename CellFieldSchema> + static bool operator()(saw::data<CellFieldSchema>& latt, saw::data<sch::FixedArray<sch::UInt64, Descriptor::D>& index, saw::data<sch::UInt64> range) { + using dfi = df_info<T,Descriptor>; + } +}; +} +} |
