From: bangerth Date: Tue, 8 Jan 2013 21:32:23 +0000 (+0000) Subject: Avoid more uses of a deprecated function. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21713ad596a44b167d0c127005bb0702506d4877;p=dealii-svn.git Avoid more uses of a deprecated function. git-svn-id: https://svn.dealii.org/trunk@27984 0785d39b-7218-0410-832d-ea1e28bc413d --- 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]); }