From: turcksin Date: Mon, 3 Jun 2013 19:53:37 +0000 (+0000) Subject: Fix a bug in distribute_mg_dofs. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e0e813acca0303a75885766314f358433973934;p=dealii-svn.git Fix a bug in distribute_mg_dofs. git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_4@29743 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/dofs/dof_handler_policy.cc b/deal.II/source/dofs/dof_handler_policy.cc index 67a99aff70..b28d6f65e1 100644 --- a/deal.II/source/dofs/dof_handler_policy.cc +++ b/deal.II/source/dofs/dof_handler_policy.cc @@ -704,7 +704,7 @@ namespace internal (i->get_finest_level() >= level)) for (unsigned int d=0; dget_index (level, d/*, dof_handler.get_fe().dofs_per_vertex*/); + dealii::types::global_dof_index idx =i->get_index (level, d/*, dof_handler.get_fe().dofs_per_vertex*/); if (idx != DoFHandler<1>::invalid_dof_index) i->set_index (level, d/*, dof_handler.get_fe().dofs_per_vertex*/, ((indices.n_elements() == 0) ? @@ -2222,7 +2222,7 @@ namespace internal 1, DEAL_II_DOF_INDEX_MPI_TYPE, tr->get_communicator()); - const unsigned int + const dealii::types::global_dof_index shift = std::accumulate (number_cache .n_locally_owned_dofs_per_processor.begin(), number_cache @@ -2260,7 +2260,7 @@ namespace internal // fill global_dof_indexsets number_cache.locally_owned_dofs_per_processor.resize(n_cpus); { - unsigned int lshift = 0; + dealii::types::global_dof_index lshift = 0; for (unsigned int i=0; i