summaryrefslogtreecommitdiff
path: root/lib/core
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-01-21 17:20:08 +0100
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-01-21 17:20:08 +0100
commite60db388693b63be6d7e4c03234976b567378e94 (patch)
tree3abb03636e8b10b575b746e3406e10fbf458903b /lib/core
parentb685014dd2c9cc88ed8ecef31530842309decf62 (diff)
downloadlibs-lbm-e60db388693b63be6d7e4c03234976b567378e94.tar.gz
Fixing compilation errors
Diffstat (limited to 'lib/core')
-rw-r--r--lib/core/c++/chunk.hpp6
-rw-r--r--lib/core/c++/geometry.hpp4
-rw-r--r--lib/core/c++/lbm.hpp1
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"