From 179fb9ba6d2d0cd4be85d0bd10d189813d47ce2d Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Wed, 10 Jun 2020 15:25:40 -0400 Subject: [PATCH] adress comments --- tests/feinterface/multigrid_01.cc | 14 +++------- tests/feinterface/multigrid_01.output | 40 +++++++++++++-------------- 2 files changed, 24 insertions(+), 30 deletions(-) diff --git a/tests/feinterface/multigrid_01.cc b/tests/feinterface/multigrid_01.cc index 24702a7652..3754c8490e 100644 --- a/tests/feinterface/multigrid_01.cc +++ b/tests/feinterface/multigrid_01.cc @@ -56,7 +56,8 @@ inspect_fiv(FEInterfaceValues &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(pair[0]) << " | " + << static_cast(pair[1]) << "\n"; ++idx; } @@ -65,13 +66,7 @@ inspect_fiv(FEInterfaceValues &fiv) deallog << std::endl; } - -template -void -make_2_cells(Triangulation &tria); - -template <> -void make_2_cells<2>(Triangulation<2> &tria) +void make_2_cells(Triangulation<2> &tria) { const unsigned int dim = 2; std::vector 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 repetitions = {2, 1, 1}; diff --git a/tests/feinterface/multigrid_01.output b/tests/feinterface/multigrid_01.output index 96fdf64ff9..947e9459a4 100644 --- a/tests/feinterface/multigrid_01.output +++ b/tests/feinterface/multigrid_01.output @@ -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 -- 2.39.5