summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/particles.cpp8
-rw-r--r--tests/vtk_write.cpp2
2 files changed, 9 insertions, 1 deletions
diff --git a/tests/particles.cpp b/tests/particles.cpp
index 6332195..873b8ad 100644
--- a/tests/particles.cpp
+++ b/tests/particles.cpp
@@ -31,4 +31,12 @@ SAW_TEST("Minor Test for mask"){
//saw::data<sch::Array<sch::T,2>> reference_mask{{{4+2,4+2}}};
//reference_mask.at({{0,0}});
}
+
+SAW_TEST("Verlet integration test"){
+ using namespace kel;
+ lbm::particle_system<sch::T,2,sch::Particle<sch::T,2>> system;
+
+ // system.step();
+
+}
}
diff --git a/tests/vtk_write.cpp b/tests/vtk_write.cpp
index 0fcc169..5d61580 100644
--- a/tests/vtk_write.cpp
+++ b/tests/vtk_write.cpp
@@ -38,7 +38,7 @@ SAW_TEST("VTK Write test example"){
std::stringstream sstream;
- saw::data<sch::CellField<sch::D2Q5,sch::CellStruct<sch::D2Q5>>> cells;
+ saw::data<sch::CellField<sch::D2Q5,sch::CellStruct<sch::D2Q5>>> cells{{{2u,2u}}};
auto eov = lbm::impl::lbm_vtk_writer<sch::CellField<sch::D2Q5,sch::CellStruct<sch::D2Q5>>>::apply(sstream, cells);
SAW_EXPECT(eov.is_value(), "vtk writer failed to write");