From: kainan.wang Date: Thu, 14 Mar 2013 00:24:11 +0000 (+0000) Subject: changes in mpi.h to add an mpi type for unsigned long long int X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6231c58ec95e61b13f66f8cfc04f4a4d34e07fb;p=dealii-svn.git changes in mpi.h to add an mpi type for unsigned long long int git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_4@28895 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/base/mpi.h b/deal.II/include/deal.II/base/mpi.h index b05eaff2fc..8629515cc1 100644 --- a/deal.II/include/deal.II/base/mpi.h +++ b/deal.II/include/deal.II/base/mpi.h @@ -363,7 +363,13 @@ namespace Utilities { return MPI_UNSIGNED_LONG; } + + inline MPI_Datatype mpi_type_id (const unsigned long long int *) + { + return MPI_UNSIGNED_LONG; + } + inline MPI_Datatype mpi_type_id (const unsigned long long int *) { diff --git a/deal.II/include/deal.II/base/types.h b/deal.II/include/deal.II/base/types.h index 544178d172..2e4c516020 100644 --- a/deal.II/include/deal.II/base/types.h +++ b/deal.II/include/deal.II/base/types.h @@ -52,7 +52,7 @@ namespace types */ const unsigned int artificial_subdomain_id DEAL_II_DEPRECATED = static_cast(-2); -//#define DEAL_II_USE_LARGE_INDEX_TYPE +#define DEAL_II_USE_LARGE_INDEX_TYPE #ifdef DEAL_II_USE_LARGE_INDEX_TYPE /** * The type used for global indices of