#include <deal.II/base/config.h>
#include <cstddef>
+#include <cstdint>
DEAL_II_NAMESPACE_OPEN
/**
* The type used for global indices of vertices.
*/
- using global_vertex_index = unsigned long long int;
+ using global_vertex_index = uint64_t;
/**
* An identifier that denotes the MPI type associated with
* types::global_vertex_index.
*/
-#define DEAL_II_VERTEX_INDEX_MPI_TYPE MPI_UNSIGNED_LONG_LONG
+#define DEAL_II_VERTEX_INDEX_MPI_TYPE MPI_UINT64_T
#ifdef DEAL_II_WITH_64BIT_INDICES
/**
* @ref GlobalDoFIndex
* page for guidance on when this type should or should not be used.
*/
- // TODO: we should check that unsigned long long int
- // has the same size as uint64_t
- using global_dof_index = unsigned long long int;
+ using global_dof_index = uint64_t;
/**
* An identifier that denotes the MPI type associated with
* types::global_dof_index.
*/
-# define DEAL_II_DOF_INDEX_MPI_TYPE MPI_UNSIGNED_LONG_LONG
+# define DEAL_II_DOF_INDEX_MPI_TYPE MPI_UINT64_T
+
#else
/**
* The type used for global indices of degrees of freedom. While in
* The type used for coarse-cell ids. See the glossary
* entry on @ref GlossCoarseCellId "coarse cell IDs" for more information.
*/
- using coarse_cell_id = unsigned long long int;
+ using coarse_cell_id = uint64_t;
#else
/**
* The type used for coarse-cell ids. See the glossary
/**
* Declare type of integer used in the Epetra package of Trilinos.
*/
- using int_type = long long;
+ using int_type = long long int;
#else
/**
* Declare type of integer used in the Epetra package of Trilinos.
#include <deal.II/particles/property_pool.h>
+#include <cstdint>
+
DEAL_II_NAMESPACE_OPEN
namespace types
*
* The data type always indicates an unsigned integer type.
*/
- using particle_index = unsigned long long int;
+ using particle_index = uint64_t;
# ifdef DEAL_II_WITH_MPI
/**
* An identifier that denotes the MPI type associated with
* types::global_dof_index.
*/
-# define DEAL_II_PARTICLE_INDEX_MPI_TYPE MPI_UNSIGNED_LONG_LONG
+# define DEAL_II_PARTICLE_INDEX_MPI_TYPE MPI_UINT64_T
# endif
+
#else
/**
* The type used for indices of particles. While in