]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Call the new functions instead of copying the implementation 7863/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Wed, 27 Mar 2019 23:39:39 +0000 (19:39 -0400)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Wed, 27 Mar 2019 23:39:39 +0000 (19:39 -0400)
source/distributed/solution_transfer.cc

index 0919d7c798048a4180e169ff5f7e5b2c492d5401..26e0cb1a70ddb3f3f07bd193660a1211df5800ac 100644 (file)
@@ -135,8 +135,7 @@ namespace parallel
     SolutionTransfer<dim, VectorType, DoFHandlerType>::prepare_serialization(
       const VectorType &in)
     {
-      std::vector<const VectorType *> all_in(1, &in);
-      prepare_for_serialization(all_in);
+      prepare_for_serialization(in);
     }
 
 
@@ -146,7 +145,7 @@ namespace parallel
     SolutionTransfer<dim, VectorType, DoFHandlerType>::prepare_serialization(
       const std::vector<const VectorType *> &all_in)
     {
-      prepare_for_coarsening_and_refinement(all_in);
+      prepare_for_serialization(all_in);
     }
 
 

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.