]> https://gitweb.dealii.org/ - dealii.git/commitdiff
adress comments 10497/head
authorTimo Heister <timo.heister@gmail.com>
Wed, 10 Jun 2020 19:25:40 +0000 (15:25 -0400)
committerTimo Heister <timo.heister@gmail.com>
Wed, 10 Jun 2020 19:27:02 +0000 (15:27 -0400)
tests/feinterface/multigrid_01.cc
tests/feinterface/multigrid_01.output

index 24702a76526e4e3f7bcc98a761ea1f7ac1ca7358..3754c8490e725bc5e639beb9c9c7a86099fe2fdc 100644 (file)
@@ -56,7 +56,8 @@ inspect_fiv(FEInterfaceValues<dim> &fiv)
       deallog << "  index " << idx << " global_dof_index:" << v << ":\n";
 
       const auto pair = fiv.interface_dof_to_dof_indices(idx);
-      deallog << "    dof indices: " << pair[0] << " | " << pair[1] << "\n";
+      deallog << "    dof indices: " << static_cast<int>(pair[0]) << " | "
+              << static_cast<int>(pair[1]) << "\n";
 
       ++idx;
     }
@@ -65,13 +66,7 @@ inspect_fiv(FEInterfaceValues<dim> &fiv)
   deallog << std::endl;
 }
 
-
-template <int dim>
-void
-make_2_cells(Triangulation<dim> &tria);
-
-template <>
-void make_2_cells<2>(Triangulation<2> &tria)
+void make_2_cells(Triangulation<2> &tria)
 {
   const unsigned int        dim         = 2;
   std::vector<unsigned int> repetitions = {2, 1};
@@ -81,8 +76,7 @@ void make_2_cells<2>(Triangulation<2> &tria)
   GridGenerator::subdivided_hyper_rectangle(tria, repetitions, p1, p2);
 }
 
-template <>
-void make_2_cells<3>(Triangulation<3> &tria)
+void make_2_cells(Triangulation<3> &tria)
 {
   const unsigned int        dim         = 3;
   std::vector<unsigned int> repetitions = {2, 1, 1};
index 96fdf64ff9a0e4364068309b21308441944cfae2..947e9459a4c22f1b97fd04bc694771d37d89dff9 100644 (file)
@@ -7,21 +7,21 @@ at_boundary(): 0
 n_current_interface_dofs(): 8
 interface_dof_indices: 0 1 2 3 4 5 6 7 
   index 0 global_dof_index:0:
-    dof indices: 0 | 4294967295
+    dof indices: 0 | -1
   index 1 global_dof_index:1:
-    dof indices: 1 | 4294967295
+    dof indices: 1 | -1
   index 2 global_dof_index:2:
-    dof indices: 2 | 4294967295
+    dof indices: 2 | -1
   index 3 global_dof_index:3:
-    dof indices: 3 | 4294967295
+    dof indices: 3 | -1
   index 4 global_dof_index:4:
-    dof indices: 4294967295 | 0
+    dof indices: -1 | 0
   index 5 global_dof_index:5:
-    dof indices: 4294967295 | 1
+    dof indices: -1 | 1
   index 6 global_dof_index:6:
-    dof indices: 4294967295 | 2
+    dof indices: -1 | 2
   index 7 global_dof_index:7:
-    dof indices: 4294967295 | 3
+    dof indices: -1 | 3
 
 
 DEAL::** interface on level 1: **
@@ -31,21 +31,21 @@ at_boundary(): 0
 n_current_interface_dofs(): 8
 interface_dof_indices: 0 1 2 3 4 5 6 7 
   index 0 global_dof_index:0:
-    dof indices: 0 | 4294967295
+    dof indices: 0 | -1
   index 1 global_dof_index:1:
-    dof indices: 1 | 4294967295
+    dof indices: 1 | -1
   index 2 global_dof_index:2:
-    dof indices: 2 | 4294967295
+    dof indices: 2 | -1
   index 3 global_dof_index:3:
-    dof indices: 3 | 4294967295
+    dof indices: 3 | -1
   index 4 global_dof_index:4:
-    dof indices: 4294967295 | 0
+    dof indices: -1 | 0
   index 5 global_dof_index:5:
-    dof indices: 4294967295 | 1
+    dof indices: -1 | 1
   index 6 global_dof_index:6:
-    dof indices: 4294967295 | 2
+    dof indices: -1 | 2
   index 7 global_dof_index:7:
-    dof indices: 4294967295 | 3
+    dof indices: -1 | 3
 
 
 DEAL::** boundary interface on cell 1 **
@@ -53,12 +53,12 @@ at_boundary(): 1
 n_current_interface_dofs(): 4
 interface_dof_indices: 4 5 6 7 
   index 0 global_dof_index:4:
-    dof indices: 0 | 4294967295
+    dof indices: 0 | -1
   index 1 global_dof_index:5:
-    dof indices: 1 | 4294967295
+    dof indices: 1 | -1
   index 2 global_dof_index:6:
-    dof indices: 2 | 4294967295
+    dof indices: 2 | -1
   index 3 global_dof_index:7:
-    dof indices: 3 | 4294967295
+    dof indices: 3 | -1
 
 

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.