From 23a0d49768dbd67465a16bdcf60fdb042b66eb50 Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Sun, 13 Feb 2022 12:43:39 +0100 Subject: [PATCH] MatrixFreeTools: small clean up --- include/deal.II/matrix_free/tools.h | 2 +- tests/matrix_free/compute_diagonal_07.cc | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/include/deal.II/matrix_free/tools.h b/include/deal.II/matrix_free/tools.h index a48808e3e9..5347bd4175 100644 --- a/include/deal.II/matrix_free/tools.h +++ b/include/deal.II/matrix_free/tools.h @@ -1026,7 +1026,7 @@ namespace MatrixFreeTools { integrator.reinit(cell); - unsigned int const n_filled_lanes = + const unsigned int n_filled_lanes = matrix_free.n_active_entries_per_cell_batch(cell); for (unsigned int v = 0; v < n_filled_lanes; ++v) diff --git a/tests/matrix_free/compute_diagonal_07.cc b/tests/matrix_free/compute_diagonal_07.cc index eb0c3f087f..8b7d022cf5 100644 --- a/tests/matrix_free/compute_diagonal_07.cc +++ b/tests/matrix_free/compute_diagonal_07.cc @@ -50,8 +50,6 @@ test() DoFTools::make_zero_boundary_constraints(dof_handler_q, constraints_q); constraints_q.close(); - constraints_q.print(std::cout); - AffineConstraints constraints_system; DoFTools::make_hanging_node_constraints(dof_handler_system, constraints_system); @@ -59,8 +57,6 @@ test() constraints_system); constraints_system.close(); - constraints_system.print(std::cout); - typename MatrixFree::AdditionalData additional_data; additional_data.mapping_update_flags = update_values | update_gradients; -- 2.39.5