From 21713ad596a44b167d0c127005bb0702506d4877 Mon Sep 17 00:00:00 2001 From: bangerth Date: Tue, 8 Jan 2013 21:32:23 +0000 Subject: [PATCH] Avoid more uses of a deprecated function. git-svn-id: https://svn.dealii.org/trunk@27984 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/multigrid/mg_transfer_block.cc | 8 ++++---- deal.II/source/multigrid/mg_transfer_component.cc | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/deal.II/source/multigrid/mg_transfer_block.cc b/deal.II/source/multigrid/mg_transfer_block.cc index 55acbf8e2e..52f31d55f6 100644 --- a/deal.II/source/multigrid/mg_transfer_block.cc +++ b/deal.II/source/multigrid/mg_transfer_block.cc @@ -67,8 +67,8 @@ namespace MGTools::count_dofs_per_block (mg_dof, ndofs); } - for (unsigned int level=v.get_minlevel(); - level<=v.get_maxlevel(); ++level) + for (unsigned int level=v.min_level(); + level<=v.max_level(); ++level) { v[level].reinit(n_selected, 0); unsigned int k=0; @@ -113,8 +113,8 @@ namespace MGTools::count_dofs_per_block (mg_dof, ndofs); } - for (unsigned int level=v.get_minlevel(); - level<=v.get_maxlevel(); ++level) + for (unsigned int level=v.min_level(); + level<=v.max_level(); ++level) { v[level].reinit(ndofs[level][selected_block]); } diff --git a/deal.II/source/multigrid/mg_transfer_component.cc b/deal.II/source/multigrid/mg_transfer_component.cc index 0a3cd49f24..cf7d230077 100644 --- a/deal.II/source/multigrid/mg_transfer_component.cc +++ b/deal.II/source/multigrid/mg_transfer_component.cc @@ -129,8 +129,8 @@ namespace MGTools::count_dofs_per_block (mg_dof, ndofs, target_component); } - for (unsigned int level=v.get_minlevel(); - level<=v.get_maxlevel(); ++level) + for (unsigned int level=v.min_level(); + level<=v.max_level(); ++level) { v[level].reinit(n_selected, 0); unsigned int k=0; @@ -199,8 +199,8 @@ namespace target_component); } - for (unsigned int level=v.get_minlevel(); - level<=v.get_maxlevel(); ++level) + for (unsigned int level=v.min_level(); + level<=v.max_level(); ++level) { v[level].reinit(ndofs[level][selected_block]); } -- 2.39.5