From 3489ac1d725c0eadb7d75329f9e6074ed177d125 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Thu, 23 Jul 2026 16:53:05 +0200 Subject: Somethings wrong with the particle interaction --- modules/core/c++/abstract/schema.hpp | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'modules/core/c++/abstract') diff --git a/modules/core/c++/abstract/schema.hpp b/modules/core/c++/abstract/schema.hpp index 8305005..8bc23b4 100644 --- a/modules/core/c++/abstract/schema.hpp +++ b/modules/core/c++/abstract/schema.hpp @@ -4,6 +4,7 @@ #include "templates.hpp" namespace kel { +namespace lbm { namespace sch { struct Void {}; @@ -26,6 +27,27 @@ struct Primitive { static constexpr uint64_t Bytes = N; }; +using UInt8 = Primitive; +using UInt16 = Primitive; +using UInt32 = Primitive; +using UInt64 = Primitive; + +using Int8 = Primitive; +using Int16 = Primitive; +using Int32 = Primitive; +using Int64 = Primitive; + +using Float8 = Primitive; +using Float16 = Primitive; +using Float32 = Primitive; +using Float64 = Primitive; + +template +struct MixedPrecision { + using Meta = Void; + using Inner = Sch; +}; + template struct FixedArray { using Meta = Void; @@ -37,7 +59,7 @@ template struct Array { using Meta = FixedArray; using Inner = T; - static constexpr std::array Dimensions{Dims}; + static constexpr std::array Dimensions{Dims}; }; template @@ -58,3 +80,4 @@ struct schema { }; } +} -- cgit v1.2.3