]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use types::global_dof_indices.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 25 Sep 2013 22:48:53 +0000 (22:48 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 25 Sep 2013 22:48:53 +0000 (22:48 +0000)
git-svn-id: https://svn.dealii.org/trunk@30930 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-42/step-42.cc

index 2613a848b2d482a580a79fd4e9a48648d792527c..a9139efc1a511a5cee7eda63a2dc89997d027020 100644 (file)
@@ -943,7 +943,7 @@ namespace Step42
     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_indices> local_dof_indices(dofs_per_cell);
 
     typename DoFHandler<dim>::active_cell_iterator cell =
       dof_handler.begin_active(), endc = dof_handler.end();
@@ -1069,7 +1069,7 @@ namespace Step42
 
     Vector<double> cell_rhs(dofs_per_cell);
 
-    std::vector<unsigned int> local_dof_indices(dofs_per_cell);
+    std::vector<types::global_dof_indices> local_dof_indices(dofs_per_cell);
 
     const FEValuesExtractors::Vector displacement(0);
 
@@ -1198,7 +1198,7 @@ namespace Step42
     for (unsigned i = 0; i < dim; i++)
       ones[i] = 1.0;
 
-    std::vector<unsigned int> local_dof_indices(dofs_per_cell);
+    std::vector<types::global_dof_indices> local_dof_indices(dofs_per_cell);
 
     const FEValuesExtractors::Vector displacement(0);
 

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.