From f87d11e3eca71f8fed3dc2374026df108dfaa14b Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Thu, 16 Apr 2020 15:08:16 +0200 Subject: [PATCH] Fix type in GridOut::write_vtk --- source/grid/grid_out.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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()) << ' '; } -- 2.39.5