]> https://gitweb.dealii.org/ - dealii.git/commitdiff
round 2 of comments 12964/head
authorTimo Heister <timo.heister@gmail.com>
Fri, 19 Nov 2021 11:21:55 +0000 (06:21 -0500)
committerTimo Heister <timo.heister@gmail.com>
Fri, 19 Nov 2021 11:21:55 +0000 (06:21 -0500)
include/deal.II/base/mpi.h
source/base/mpi.cc

index 3449bebec3de70c0aa7689b456b458f3afbcf07c..ea98a5c31754492f78b98432a29d119b257ccad2 100644 (file)
@@ -522,14 +522,14 @@ namespace Utilities
      * else
      * {
      *   MPI_Datatype bigtype =
-     * Utilities::MPI::create_mpi_data_type_n_bytes(buffer.size());
+     *     Utilities::MPI::create_mpi_data_type_n_bytes(buffer.size());
      *   MPI_Send(buffer.data(), 1, bigtype, dest, tag, comm);
      *   MPI_Type_free(&bigtype);
      * }
      * </code>
      */
     MPI_Datatype
-    create_mpi_data_type_n_bytes(std::size_t n_bytes);
+    create_mpi_data_type_n_bytes(const std::size_t n_bytes);
 
     /**
      * Return the sum over all processors of the value @p t. This function is
index bcb7bcb0eeb653f46b32b1d895cf75884ba6276c..f72835b02511aeba6310d0a1e047be2746628d02 100644 (file)
@@ -298,7 +298,7 @@ namespace Utilities
 
 
     MPI_Datatype
-    create_mpi_data_type_n_bytes(std::size_t n_bytes)
+    create_mpi_data_type_n_bytes(const std::size_t n_bytes)
     {
 #  ifdef DEAL_II_WITH_MPI
       // Simplified version from BigMPI repository, see

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.