]> https://gitweb.dealii.org/ - dealii.git/commitdiff
adjust variable name 12881/head
authorTimo Heister <timo.heister@gmail.com>
Fri, 15 Oct 2021 14:52:35 +0000 (10:52 -0400)
committerMatthias Maier <tamiko@43-1.org>
Mon, 25 Oct 2021 15:41:33 +0000 (10:41 -0500)
source/distributed/tria_base.cc

index 95e9266bc47428d534ff34eabeddafcdf1074ea1..8264d752dd586b702b656003af5a92649262b7b2 100644 (file)
@@ -1446,14 +1446,14 @@ namespace parallel
 
       // Make sure we do the following computation in 64bit integers to be able
       // to handle 4GB+ files:
-      const MPI_Offset my_offset =
+      const MPI_Offset my_global_file_position =
         size_header + static_cast<MPI_Offset>(global_first_cell) *
                         sizes_fixed_cumulative.back();
 
       const char *data = src_data_fixed.data();
 
       ierr = MPI_File_write_at(fh,
-                               my_offset,
+                               my_global_file_position,
                                DEAL_II_MPI_CONST_CAST(data),
                                src_data_fixed.size(), // local buffer
                                MPI_CHAR,
@@ -1614,12 +1614,12 @@ namespace parallel
 
       // Make sure we do the following computation in 64bit integers to be able
       // to handle 4GB+ files:
-      const MPI_Offset my_offset =
+      const MPI_Offset my_global_file_position =
         size_header + static_cast<MPI_Offset>(global_first_cell) *
                         sizes_fixed_cumulative.back();
 
       ierr = MPI_File_read_at(fh,
-                              my_offset,
+                              my_global_file_position,
                               dest_data_fixed.data(),
                               dest_data_fixed.size(), // local buffer
                               MPI_CHAR,

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.