#include #include #include "../c++/write_vtk.hpp" #include namespace { namespace sch { using namespace kel::lbm::sch; using T = Float64; using D2Q5 = Descriptor<2,5>; using D2Q9 = Descriptor<2,9>; template using DfCell = Cell; template using CellInfo = Cell; /** * Basic type for simulation */ template using CellStruct = Struct< Member, "dfs">, Member, "dfs_old">, Member, "info"> >; } SAW_TEST("VTK Write test example"){ using namespace kel; // write_vtk(); std::stringstream sstream; saw::data>> cells; auto eov = lbm::impl::lbm_vtk_writer>>::apply(sstream, cells); SAW_EXPECT(eov.is_value(), "vtk writer failed to write"); // using Type = typename parameter_pack_type::type; } }