]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Compress documentation.
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 2 Mar 2020 20:01:53 +0000 (13:01 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 4 Mar 2020 01:29:23 +0000 (18:29 -0700)
include/deal.II/base/types.h

index d76b48da4095584edad2801f7d431b8c45281251..8bbd8238ec1a764f170b984d2cff6cf2df27263b 100644 (file)
@@ -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
 

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.