]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Avoid more uses of a deprecated function.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 8 Jan 2013 21:32:23 +0000 (21:32 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 8 Jan 2013 21:32:23 +0000 (21:32 +0000)
git-svn-id: https://svn.dealii.org/trunk@27984 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/multigrid/mg_transfer_block.cc
deal.II/source/multigrid/mg_transfer_component.cc

index 55acbf8e2e8ac7ff1989398a4f4705ae7b38c7d3..52f31d55f6ff042921e631cf317a025eb028292d 100644 (file)
@@ -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]);
       }
index 0a3cd49f24a4dbc213dd32647c44e8457b0a13af..cf7d23007758552b9be5cd706d603ecb12a0aa78 100644 (file)
@@ -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]);
       }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.