summaryrefslogtreecommitdiff
path: root/examples/poiseulle_2d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/poiseulle_2d.cpp')
-rw-r--r--examples/poiseulle_2d.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/examples/poiseulle_2d.cpp b/examples/poiseulle_2d.cpp
index f5a7981..0ec4fc0 100644
--- a/examples/poiseulle_2d.cpp
+++ b/examples/poiseulle_2d.cpp
@@ -1,4 +1,6 @@
-#include "../c++/descriptor.hpp"
+#include "../c++/lbm.hpp"
+#include "../c++/collision.hpp"
+#include "../c++/boundary.hpp"
#include <forstio/codec/data.hpp>
@@ -17,14 +19,14 @@ using namespace saw::schema;
* Q factor
*/
using T = Float32;
-using D2Q5 = Descriptor<2,5>;
-using D2Q9 = Descriptor<2,9>;
+using D2Q5 = Descriptor<2u,5u>;
+using D2Q9 = Descriptor<2u,9u>;
template<typename Desc>
-using DfCell = Cell<T, Desc, 0, 0, 1>;
+using DfCell = Cell<T, Desc, 0u, 0u, 1u>;
template<typename Desc>
-using CellInfo = Cell<UInt8, D2Q9, 1, 0, 0>;
+using CellInfo = Cell<UInt8, D2Q9, 1u, 0u, 0u>;
/**
* Basic type for simulation