From: Peter Munch Date: Thu, 16 Apr 2020 13:08:16 +0000 (+0200) Subject: Fix type in GridOut::write_vtk X-Git-Tag: v9.2.0-rc1~219^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f87d11e3eca71f8fed3dc2374026df108dfaa14b;p=dealii.git Fix type in GridOut::write_vtk --- diff --git a/source/grid/grid_out.cc b/source/grid/grid_out.cc index 47458eedf7..16bfdaeb1e 100644 --- a/source/grid/grid_out.cc +++ b/source/grid/grid_out.cc @@ -3318,12 +3318,12 @@ GridOut::write_vtk(const Triangulation &tria, out << "\n\nSCALARS ManifoldID int 1\n" << "LOOKUP_TABLE default\n"; - // Now material id and boundary id + // Now manifold id if (vtk_flags.output_cells) { for (const auto &cell : tria.active_cell_iterators()) { - out << static_cast::type>( + out << static_cast::type>( cell->manifold_id()) << ' '; } @@ -3333,7 +3333,7 @@ GridOut::write_vtk(const Triangulation &tria, { for (const auto &face : faces) { - out << static_cast::type>( + out << static_cast::type>( face->manifold_id()) << ' '; } @@ -3343,7 +3343,7 @@ GridOut::write_vtk(const Triangulation &tria, { for (const auto &edge : edges) { - out << static_cast::type>( + out << static_cast::type>( edge->manifold_id()) << ' '; }