From 6581113d88677d9c02bec7f3d5c0f3dfdeb868ee Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 22 Oct 2021 17:26:51 -0600 Subject: [PATCH] Make code a bit more readable. --- source/distributed/tria_base.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source/distributed/tria_base.cc b/source/distributed/tria_base.cc index 26162dfef3..0cf076328d 100644 --- a/source/distributed/tria_base.cc +++ b/source/distributed/tria_base.cc @@ -1447,12 +1447,10 @@ namespace parallel size_header + static_cast(global_first_cell) * sizes_fixed_cumulative.back(); - const char *data = src_data_fixed.data(); - ierr = MPI_File_write_at(fh, my_global_file_position, - DEAL_II_MPI_CONST_CAST(data), - src_data_fixed.size(), // local buffer + DEAL_II_MPI_CONST_CAST(src_data_fixed.data()), + src_data_fixed.size(), MPI_CHAR, MPI_STATUS_IGNORE); AssertThrowMPI(ierr); -- 2.39.5