]> https://gitweb.dealii.org/ - dealii.git/commitdiff
compute_block_wise for 64bit: fix one problem and remove ExcNotImplemented. Maybe...
authorTimo Heister <timo.heister@gmail.com>
Mon, 4 Nov 2013 23:00:07 +0000 (23:00 +0000)
committerTimo Heister <timo.heister@gmail.com>
Mon, 4 Nov 2013 23:00:07 +0000 (23:00 +0000)
git-svn-id: https://svn.dealii.org/trunk@31542 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/dofs/dof_renumbering.cc

index 2bc1ed384c7e5fb441b8800de8301c3f7fd6c5e8..1dde827f29a7904a2859f9d7ec37584eddca09cc 100644 (file)
@@ -1058,8 +1058,6 @@ namespace DoFRenumbering
         all_dof_counts(fe_collection.n_components() *
                        Utilities::MPI::n_mpi_processes (tria->get_communicator()));
 
-        Assert (sizeof(types::global_dof_index) == sizeof(unsigned int),
-                ExcNotImplemented());
         MPI_Allgather ( &local_dof_count[0],
                         n_buckets, DEAL_II_DOF_INDEX_MPI_TYPE,
                         &all_dof_counts[0],
@@ -1073,7 +1071,7 @@ namespace DoFRenumbering
                   ExcInternalError());
 
         //calculate shifts
-        unsigned int cumulated = 0;
+        types::global_dof_index cumulated = 0;
         for (unsigned int c=0; c<n_buckets; ++c)
           {
             shifts[c]=cumulated;

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.