From 2fbbd0ecd602936d4a59da01cc98a0666415297a Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Mon, 6 Jul 2020 16:36:37 -0400 Subject: [PATCH] Remove MGConstrainedDoFs::get_level_constraint_matrix --- .../deal.II/multigrid/mg_constrained_dofs.h | 18 ------------------ tests/multigrid/constrained_dofs_05.cc | 2 +- 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/include/deal.II/multigrid/mg_constrained_dofs.h b/include/deal.II/multigrid/mg_constrained_dofs.h index d60ac04867..0791c91b64 100644 --- a/include/deal.II/multigrid/mg_constrained_dofs.h +++ b/include/deal.II/multigrid/mg_constrained_dofs.h @@ -204,16 +204,6 @@ public: const AffineConstraints & get_level_constraints(const unsigned int level) const; - /** - * Return the AffineConstraints object for a given level, containing - * periodicity constraints (if enabled on the triangulation). - * - * @deprecated Use get_level_constraints instead, which has a more descriptive name. - */ - DEAL_II_DEPRECATED - const AffineConstraints & - get_level_constraint_matrix(const unsigned int level) const; - /** * Return the user defined constraint matrix for a given level. These * constraints are set using the function add_user_constraints() and @@ -533,14 +523,6 @@ MGConstrainedDoFs::get_level_constraints(const unsigned int level) const -inline const AffineConstraints & -MGConstrainedDoFs::get_level_constraint_matrix(const unsigned int level) const -{ - return get_level_constraints(level); -} - - - inline const AffineConstraints & MGConstrainedDoFs::get_user_constraint_matrix(const unsigned int level) const { diff --git a/tests/multigrid/constrained_dofs_05.cc b/tests/multigrid/constrained_dofs_05.cc index 02639f8fc7..b6fab7929f 100644 --- a/tests/multigrid/constrained_dofs_05.cc +++ b/tests/multigrid/constrained_dofs_05.cc @@ -167,7 +167,7 @@ check() // Print constraint matrix deallog << " Constraint matrix:" << std::endl; - constrained_dofs.get_level_constraint_matrix(level).print( + constrained_dofs.get_level_constraints(level).print( deallog.get_file_stream()); } } -- 2.39.5