diff options
Diffstat (limited to 'lib/core')
| -rw-r--r-- | lib/core/c++/chunk.hpp | 6 | ||||
| -rw-r--r-- | lib/core/c++/geometry.hpp | 4 | ||||
| -rw-r--r-- | lib/core/c++/lbm.hpp | 1 |
3 files changed, 10 insertions, 1 deletions
diff --git a/lib/core/c++/chunk.hpp b/lib/core/c++/chunk.hpp index 607bec0..ad7de34 100644 --- a/lib/core/c++/chunk.hpp +++ b/lib/core/c++/chunk.hpp @@ -76,4 +76,10 @@ public: return data<schema::FixedArray<schema::UInt64, sizeof...(Sides)>,Encode>{{Sides...}}; } }; + +template<typename Sch, uint64_t Ghost, uint64_t... Sides> +struct meta_schema<kel::lbm::sch::Chunk<Sch,Ghost,Sides...>> { + using MetaSchema = typename meta_schema<Sch>::MetaSchema; +}; + } diff --git a/lib/core/c++/geometry.hpp b/lib/core/c++/geometry.hpp index 6875e90..c8a48a6 100644 --- a/lib/core/c++/geometry.hpp +++ b/lib/core/c++/geometry.hpp @@ -21,7 +21,9 @@ 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>) + void apply(saw::data<CellFieldSchema,Encode>& field, const saw::data<sch::FixedArraysch::UInt64,Desc::D>){ + auto& info_f = field.template get<"info">(); + } }; // Ghost - 0 diff --git a/lib/core/c++/lbm.hpp b/lib/core/c++/lbm.hpp index aff38e9..00f153a 100644 --- a/lib/core/c++/lbm.hpp +++ b/lib/core/c++/lbm.hpp @@ -2,6 +2,7 @@ #include "schema.hpp" #include "flatten.hpp" +#include "chunk.hpp" #include "descriptor.hpp" #include "boundary.hpp" #include "converter.hpp" |
