]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix type in GridOut::write_vtk 9908/head
authorPeter Munch <peterrmuench@gmail.com>
Thu, 16 Apr 2020 13:08:16 +0000 (15:08 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Thu, 16 Apr 2020 13:08:16 +0000 (15:08 +0200)
source/grid/grid_out.cc

index 47458eedf7e12f33caf04174fb55bcab12b5d44e..16bfdaeb1e5c1b1b39a02c9c39236e328b8b6bfb 100644 (file)
@@ -3318,12 +3318,12 @@ GridOut::write_vtk(const Triangulation<dim, spacedim> &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<std::make_signed<types::boundary_id>::type>(
+          out << static_cast<std::make_signed<types::manifold_id>::type>(
                    cell->manifold_id())
               << ' ';
         }
@@ -3333,7 +3333,7 @@ GridOut::write_vtk(const Triangulation<dim, spacedim> &tria,
     {
       for (const auto &face : faces)
         {
-          out << static_cast<std::make_signed<types::boundary_id>::type>(
+          out << static_cast<std::make_signed<types::manifold_id>::type>(
                    face->manifold_id())
               << ' ';
         }
@@ -3343,7 +3343,7 @@ GridOut::write_vtk(const Triangulation<dim, spacedim> &tria,
     {
       for (const auto &edge : edges)
         {
-          out << static_cast<std::make_signed<types::boundary_id>::type>(
+          out << static_cast<std::make_signed<types::manifold_id>::type>(
                    edge->manifold_id())
               << ' ';
         }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.