From 85af48cace105743f7f509104f5d63506c27dddf Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Thu, 6 Jul 2023 16:13:59 +0200 Subject: c++: Mostly thoughts expressed in code. A regular apply lambda with info about current cell coordinates and bounds might be interesting. --- c++/examples/cavity_2d.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'c++/examples') diff --git a/c++/examples/cavity_2d.cpp b/c++/examples/cavity_2d.cpp index bd108f1..6caaa11 100644 --- a/c++/examples/cavity_2d.cpp +++ b/c++/examples/cavity_2d.cpp @@ -21,16 +21,17 @@ using CellInfo2DType = CellType; /** * Basic type for simulation */ -using CellData = CellData< +using Cell = CellData< Member, Member >; + } int main(){ using namespace kel::lbm; - saw::data, saw::encode::Native> lattice{512, 512}; + saw::data>, saw::encode::Native> lattice{512, 512}; return 0; } -- cgit v1.2.3