]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix some tests.
authorBruno Turcksin <bruno.turcksin@gmail.com>
Fri, 31 May 2013 18:08:15 +0000 (18:08 +0000)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Fri, 31 May 2013 18:08:15 +0000 (18:08 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_4@29692 0785d39b-7218-0410-832d-ea1e28bc413d

tests/mpi/mg_04.cc
tests/mpi/multigrid_adaptive.cc

index 915f012865bb79dd5d7336f7413c2693397afcf8..a388c08a23fb24c8e081df12c9c49a71ea55ea4e 100644 (file)
@@ -90,7 +90,7 @@ void test()
 
               for (;cell!=endc;++cell)
                 {
-              std::vector<unsigned int> dofs(fe.n_dofs_per_cell());
+              std::vector<types::global_dof_index> dofs(fe.n_dofs_per_cell());
               cell->get_mg_dof_indices(dofs);
 
               for (unsigned int i=0;i<dofs.size();++i)
index 43b958908f90b24485b3518f790a3057753227c9..25f1199172735112dc21efd4fa2e336fed64a875 100644 (file)
@@ -248,7 +248,7 @@ namespace Step50
     FullMatrix<double>   cell_matrix (dofs_per_cell, dofs_per_cell);
     Vector<double>       cell_rhs (dofs_per_cell);
 
-    std::vector<unsigned int> local_dof_indices (dofs_per_cell);
+    std::vector<types::global_dof_index> local_dof_indices (dofs_per_cell);
 
     const Coefficient<dim> coefficient;
     std::vector<double>    coefficient_values (n_q_points);
@@ -305,7 +305,7 @@ namespace Step50
 
     FullMatrix<double>   cell_matrix (dofs_per_cell, dofs_per_cell);
 
-    std::vector<unsigned int> local_dof_indices (dofs_per_cell);
+    std::vector<types::global_dof_index> local_dof_indices (dofs_per_cell);
 
     const Coefficient<dim> coefficient;
     std::vector<double>    coefficient_values (n_q_points);

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.