]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Disable compression in ghost exchange of DoFHandler
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Sat, 14 Sep 2019 15:22:51 +0000 (17:22 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Mon, 16 Sep 2019 07:38:17 +0000 (09:38 +0200)
include/deal.II/grid/grid_tools.h

index fb287ace4293da0f7c163ed8be75571edd8b402a..9a6e085ddd2e4a560a3ab0935d7304cba1505fd8 100644 (file)
@@ -3892,7 +3892,7 @@ namespace GridTools
         // pack all the data into the buffer for this recipient and send it.
         // keep data around till we can make sure that the packet has been
         // received
-        sendbuffers[idx] = Utilities::pack(data);
+        sendbuffers[idx] = Utilities::pack(data, /*enable_compression*/ false);
         const int ierr   = MPI_Isend(sendbuffers[idx].data(),
                                    sendbuffers[idx].size(),
                                    MPI_BYTE,
@@ -3928,7 +3928,8 @@ namespace GridTools
         AssertThrowMPI(ierr);
 
         auto cellinfo =
-          Utilities::unpack<CellDataTransferBuffer<dim, DataType>>(receive);
+          Utilities::unpack<CellDataTransferBuffer<dim, DataType>>(
+            receive, /*enable_compression*/ false);
 
         DataType *data = cellinfo.data.data();
         for (unsigned int c = 0; c < cellinfo.cell_ids.size(); ++c, ++data)

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.