summaryrefslogtreecommitdiff
path: root/lib/core/c++/hlbm.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/core/c++/hlbm.hpp')
-rw-r--r--lib/core/c++/hlbm.hpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/core/c++/hlbm.hpp b/lib/core/c++/hlbm.hpp
index 1c665ce..f8f0118 100644
--- a/lib/core/c++/hlbm.hpp
+++ b/lib/core/c++/hlbm.hpp
@@ -13,11 +13,19 @@ struct HLBM {};
/**
* HLBM collision operator for LBM
*/
-template<typename T, typename Descriptor>
+template<typename T, typename Descriptor, typename Encode>
class component<T, Descriptor, cmpt::HLBM> {
private:
public:
component() = default;
+
+ template<typename CellFieldSchema, typename MacroFieldSchema>
+ void apply(const saw::data<CellFieldSchema, Encode>& field, const saw::data<MacroFieldSchema,Encode>& macros, saw::data<sch::FixedArray<sch::UInt64,Descriptor::D>> index, saw::data<sch::UInt64> time_step) const {
+
+ bool is_even = ((time_step.get() % 2) == 0);
+
+
+ }
};
}