summaryrefslogtreecommitdiff
path: root/c++/examples
diff options
context:
space:
mode:
Diffstat (limited to 'c++/examples')
-rw-r--r--c++/examples/cavity_2d.cpp5
1 files changed, 3 insertions, 2 deletions
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<UInt8, 2, 5, 1, 0, 0>;
/**
* Basic type for simulation
*/
-using CellData = CellData<
+using Cell = CellData<
Member<DfCell2DType, "dfs">,
Member<CellInfo2DType, "info">
>;
+
}
int main(){
using namespace kel::lbm;
- saw::data<schema::Array<schema::CellData,2>, saw::encode::Native> lattice{512, 512};
+ saw::data<schema::Lattice<schema::Cell,2>>, saw::encode::Native> lattice{512, 512};
return 0;
}