Skip to content
Snippets Groups Projects
Commit ef79da3c authored by Timo Koch's avatar Timo Koch
Browse files

[test][parallelgrid] Dump ranks to VTK output

parent c0dd76ad
No related branches found
No related tags found
No related merge requests found
Pipeline #39001 failed
......@@ -175,6 +175,8 @@ int main (int argc , char **argv)
}
Dune::VTKWriter<ParallelGridType::LeafGridView> vtkWriter(grid.leafGridView());
std::vector<int> ranks(grid.leafGridView().size(0), myrank);
vtkWriter.addCellData( ranks, "rank" );
vtkWriter.write( "parallel_grid" );
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment