From: Daniel Arndt Date: Mon, 6 Jul 2020 20:36:37 +0000 (-0400) Subject: Remove MGConstrainedDoFs::get_level_constraint_matrix X-Git-Tag: v9.3.0-rc1~1326^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fbbd0ecd602936d4a59da01cc98a0666415297a;p=dealii.git Remove MGConstrainedDoFs::get_level_constraint_matrix --- 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()); } }