Commit e5cdbbf7 authored by Pietro Incardona's avatar Pietro Incardona

Adding Dist Graph writer

parent ffdf8f16
......@@ -133,7 +133,7 @@ BOOST_AUTO_TEST_CASE( graphml_writer_use)
// Boundary conditions, non periodic
size_t bc[] = {NON_PERIODIC,NON_PERIODIC,NON_PERIODIC};
Graph_CSR<ne_cp,ne_cp> g_csr = g_factory.construct<5,float,2,ne_cp::x,ne_cp::y,ne_cp::z>(sz,box,bc);
Graph_CSR<ne_cp,ne_cp> g_csr = g_factory.construct<5,NO_VERTEX_ID,float,2,ne_cp::x,ne_cp::y,ne_cp::z>(sz,box,bc);
// Create a graph ML
GraphMLWriter<Graph_CSR<ne_cp,ne_cp>> gw(g_csr);
......
......@@ -970,7 +970,7 @@ class VTKWriter<Graph, VTK_GRAPH>
vtk_vertex_node<Graph, attr> vn(v_out, obj, x);
// Iterate through all the vertex and create the vertex list
boost::mpl::for_each<boost::mpl::range_c<int, 0, Graph::V_type::max_prop - 1> >(vn);
boost::mpl::for_each<boost::mpl::range_c<int, 0, Graph::V_type::max_prop > >(vn);
// write the node string
vn.write();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment