]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
checked for types::global_dof_index
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 12 Aug 2012 21:20:10 +0000 (21:20 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 12 Aug 2012 21:20:10 +0000 (21:20 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_3@25911 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/fe/fe_tools.cc

index 679aa7edf1aadeab05126a3860a2b19dbd53b71c..03b7c7267e7d41093791bcdaa3b5c8be13f03119 100644 (file)
@@ -1339,7 +1339,7 @@ namespace FETools
     typename DH2<dim,spacedim>::active_cell_iterator cell2 = dof2.begin_active(),
                                                      endc2 = dof2.end();
 
-    std::vector<unsigned int> dofs;
+    std::vector<types::global_dof_indices> dofs;
     dofs.reserve (DoFTools::max_dofs_per_cell (dof2));
 
     u2 = 0;
@@ -1433,7 +1433,7 @@ namespace FETools
                                    // for parallel vectors check,
                                    // if this component is owned by
                                    // this processor.
-    for (unsigned int i=0; i<dof2.n_dofs(); ++i)
+    for (types::global_dof_index i=0; i<dof2.n_dofs(); ++i)
       if (locally_owned_dofs.is_element(i))
         {
           Assert(touch_count(i)!=0, ExcInternalError());
@@ -1830,7 +1830,7 @@ namespace FETools
 
     Vector<double> u1_local(n1);
     Vector<double> u2_local(n2);
-    std::vector<unsigned int> dofs(n2);
+    std::vector<types::global_dof_index> dofs(n2);
 
     FullMatrix<double> matrix(n2,n1);
     get_projection_matrix(dof1.get_fe(), dof2.get_fe(), matrix);

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.