From a6231c58ec95e61b13f66f8cfc04f4a4d34e07fb Mon Sep 17 00:00:00 2001 From: "kainan.wang" Date: Thu, 14 Mar 2013 00:24:11 +0000 Subject: [PATCH] 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 --- deal.II/include/deal.II/base/mpi.h | 6 ++++++ deal.II/include/deal.II/base/types.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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 -- 2.39.5