From: Wolfgang Bangerth Date: Mon, 2 Mar 2020 20:01:53 +0000 (-0700) Subject: Compress documentation. X-Git-Tag: v9.2.0-rc1~461^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0316dc5aef495085a9c261243d9867fdaa0d31f;p=dealii.git Compress documentation. --- diff --git a/include/deal.II/base/types.h b/include/deal.II/base/types.h index d76b48da40..8bbd8238ec 100644 --- a/include/deal.II/base/types.h +++ b/include/deal.II/base/types.h @@ -54,7 +54,6 @@ namespace types */ #define DEAL_II_VERTEX_INDEX_MPI_TYPE MPI_UINT64_T -#ifdef DEAL_II_WITH_64BIT_INDICES /** * The type used to denote the global index of degrees of freedom. This * type is then also used for querying the global *number* of degrees @@ -72,38 +71,19 @@ namespace types * @ref GlobalDoFIndex * page for guidance on when this type should or should not be used. */ +#ifdef DEAL_II_WITH_64BIT_INDICES using global_dof_index = uint64_t; +#else + using global_dof_index = unsigned int; +#endif /** * An identifier that denotes the MPI type associated with * types::global_dof_index. */ +#ifdef DEAL_II_WITH_64BIT_INDICES # define DEAL_II_DOF_INDEX_MPI_TYPE MPI_UINT64_T - #else - /** - * The type used to denote the global index of degrees of freedom. This - * type is then also used for querying the global *number* of degrees - * of freedom, since the number is simply the largest index plus one. - * - * While in sequential computations the 4 billion indices of 32-bit unsigned - * integers is plenty, parallel computations using (for example) the - * parallel::distributed::Triangulation class can overflow this number and - * consequently, deal.II chooses a larger integer type when - * configured to use 64-bit indices. - * - * The data type always corresponds to an unsigned integer type. - * - * See the - * @ref GlobalDoFIndex - * page for guidance on when this type should or should not be used. - */ - using global_dof_index = unsigned int; - - /** - * An identifier that denotes the MPI type associated with - * types::global_dof_index. - */ # define DEAL_II_DOF_INDEX_MPI_TYPE MPI_UNSIGNED #endif