From: Timo Heister Date: Wed, 21 Oct 2015 15:37:59 +0000 (-0400) Subject: change function signature X-Git-Tag: v8.4.0-rc2~277^2~10 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f401f8d73f0e2af0db086bf2ff50576ce37fdf62;p=dealii.git change function signature --- diff --git a/examples/step-50/step-50.cc b/examples/step-50/step-50.cc index 64efd34756..86364293c6 100644 --- a/examples/step-50/step-50.cc +++ b/examples/step-50/step-50.cc @@ -526,7 +526,7 @@ namespace Step50 for (unsigned int level=0; level void extract_locally_relevant_mg_dofs (const DH &dof_handler, - IndexSet &dof_set, - unsigned int level); + const unsigned int level, + IndexSet &dof_set); /** diff --git a/source/dofs/dof_tools.cc b/source/dofs/dof_tools.cc index ae287fb9f3..ddef986596 100644 --- a/source/dofs/dof_tools.cc +++ b/source/dofs/dof_tools.cc @@ -976,8 +976,8 @@ namespace DoFTools template void extract_locally_relevant_mg_dofs (const DH &dof_handler, - IndexSet &dof_set, - unsigned int level) + const unsigned int level, + IndexSet &dof_set) { // collect all the locally owned dofs dof_set = dof_handler.locally_owned_mg_dofs(level); diff --git a/source/dofs/dof_tools.inst.in b/source/dofs/dof_tools.inst.in index dd4ec1e6a6..4b3b542cbb 100644 --- a/source/dofs/dof_tools.inst.in +++ b/source/dofs/dof_tools.inst.in @@ -237,7 +237,8 @@ template void DoFTools::extract_locally_relevant_mg_dofs > (const DoFHandler & dof_handler, - IndexSet & dof_set, unsigned int level); + const unsigned int level, + IndexSet & dof_set); template void diff --git a/tests/multigrid/constrained_dofs_01.cc b/tests/multigrid/constrained_dofs_01.cc index 4a046d54bd..2030eb2ae3 100644 --- a/tests/multigrid/constrained_dofs_01.cc +++ b/tests/multigrid/constrained_dofs_01.cc @@ -158,7 +158,8 @@ void check_fe(FiniteElement &fe) IndexSet relevant; DoFTools::extract_locally_relevant_mg_dofs (dofh, - relevant, level); + level, + relevant); deallog << "relevant:" << std::endl; relevant.print(deallog);