]> https://gitweb.dealii.org/ - dealii.git/commitdiff
More cases of needing to use types::global_dof_indices.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 25 Sep 2013 22:57:59 +0000 (22:57 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 25 Sep 2013 22:57:59 +0000 (22:57 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30935 0785d39b-7218-0410-832d-ea1e28bc413d

tests/deal.II/fe_values_view_25_nonsymmetric.cc
tests/deal.II/fe_values_view_tensor_01.cc

index d2231e87ae0f9808bd154608ccb1ff55a4983e38..bfa25176894322706a467b8a97070182870b837f 100644 (file)
@@ -63,7 +63,7 @@ void test (const Triangulation<dim> &tr,
   .get_function_divergences (fe_function, divergences);
 
   // now do the same "by hand"
-  std::vector<unsigned int> local_dof_indices (fe.dofs_per_cell);
+  std::vector<types::global_dof_indices> local_dof_indices (fe.dofs_per_cell);
   dof.begin_active()->get_dof_indices (local_dof_indices);
 
   for (unsigned int i=0; i<fe.dofs_per_cell; ++i)
index a6d3238bb6c893f4eeed53d885a4a6b88118c10c..80fad23070455271ca69420a303c27a31b88ba88 100644 (file)
@@ -105,7 +105,7 @@ void MixedElastoPlasticity<dim>::make_grid_and_dofs()
   DoFRenumbering::component_wise(dof_handler);
 
   // total number of dof per block component
-  std::vector<unsigned int> dofs_per_block(2);
+  std::vector<types::global_dof_indices> dofs_per_block(2);
   DoFTools::count_dofs_per_block(dof_handler, dofs_per_block, block_component);
 
   const unsigned int n_stress_dof = dofs_per_block[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.