]> https://gitweb.dealii.org/ - dealii.git/commitdiff
change function signature
authorTimo Heister <timo.heister@gmail.com>
Wed, 21 Oct 2015 15:37:59 +0000 (11:37 -0400)
committerTimo Heister <timo.heister@gmail.com>
Wed, 21 Oct 2015 15:37:59 +0000 (11:37 -0400)
examples/step-50/step-50.cc
include/deal.II/dofs/dof_tools.h
source/dofs/dof_tools.cc
source/dofs/dof_tools.inst.in
tests/multigrid/constrained_dofs_01.cc

index 64efd34756c57a2d0405aa07f7de8b8427f761ee..86364293c6213bfcd2495b5cce020507cfd233c2 100644 (file)
@@ -526,7 +526,7 @@ namespace Step50
     for (unsigned int level=0; level<triangulation.n_global_levels(); ++level)
       {
         IndexSet dofset;
-        DoFTools::extract_locally_relevant_mg_dofs (mg_dof_handler, dofset, level);
+        DoFTools::extract_locally_relevant_mg_dofs (mg_dof_handler, level, dofset);
         boundary_constraints[level].reinit(dofset);
         boundary_constraints[level].add_lines (mg_constrained_dofs.get_refinement_edge_indices(level));
         boundary_constraints[level].add_lines (mg_constrained_dofs.get_boundary_indices(level));
index ed3356e928e612d8ceae113747546a9514561624..562e7b58e0dc05a843d8ea692a3b921b5f434606 100644 (file)
@@ -1460,8 +1460,8 @@ namespace DoFTools
   template <class DH>
   void
   extract_locally_relevant_mg_dofs (const DH &dof_handler,
-                                    IndexSet &dof_set,
-                                    unsigned int level);
+                                    const unsigned int level,
+                                    IndexSet &dof_set);
 
 
   /**
index ae287fb9f37e22a478747da48ab6f77ede885b5c..ddef9865965374ca64f14819f833f3ad4c878c1a 100644 (file)
@@ -976,8 +976,8 @@ namespace DoFTools
   template <class DH>
   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);
index dd4ec1e6a60cf10f4b6ca41cc256cf3d557e16d4..4b3b542cbb5872594978baac20ca3b10de5d639e 100644 (file)
@@ -237,7 +237,8 @@ template
 void
 DoFTools::extract_locally_relevant_mg_dofs<DoFHandler<deal_II_dimension> >
 (const DoFHandler<deal_II_dimension> & dof_handler,
- IndexSet & dof_set, unsigned int level);
+ const unsigned int level,
+ IndexSet & dof_set);
 
 template
 void
index 4a046d54bdcbed4125967c9cc78fe05ce2c52823..2030eb2ae35a0270600eef19da8b5e9406686fd1 100644 (file)
@@ -158,7 +158,8 @@ void check_fe(FiniteElement<dim> &fe)
 
       IndexSet relevant;
       DoFTools::extract_locally_relevant_mg_dofs (dofh,
-                                                  relevant, level);
+                                                  level,
+                                                  relevant);
       deallog << "relevant:" << std::endl;
       relevant.print(deallog);
 

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.