]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Rename a function to better reflect what it does.
authorWolfgang Bangerth <bangerth@colostate.edu>
Sun, 9 Jan 2022 13:54:07 +0000 (06:54 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sat, 15 Jan 2022 14:24:05 +0000 (07:24 -0700)
include/deal.II/fe/fe_tools_extrapolate.templates.h

index 0c42e53880f9d46ab047faeba8db2c52c1bafe5c..2d61b259e6fc3acff6d8befa062e51935f2de2e3 100644 (file)
@@ -318,8 +318,8 @@ namespace FETools
       // cells_to_send to their receivers
       // and receives a vector of cell_data
       void
-      send_cells(const std::vector<CellData> &cells_to_send,
-                 std::vector<CellData> &      received_cells) const;
+      exchange_data_on_cells(const std::vector<CellData> &cells_to_send,
+                             std::vector<CellData> &      received_cells) const;
 
       // add new cell_data to
       // the ordered list new_needs
@@ -1164,7 +1164,7 @@ namespace FETools
 
     template <int dim, int spacedim, class OutVector>
     void
-    ExtrapolateImplementation<dim, spacedim, OutVector>::send_cells(
+    ExtrapolateImplementation<dim, spacedim, OutVector>::exchange_data_on_cells(
       const std::vector<CellData> &cells_to_send,
       std::vector<CellData> &      received_cells) const
     {
@@ -1335,7 +1335,7 @@ namespace FETools
 
       // Send the cells needed to their owners and receive
       // a list of cells other processes need from us.
-      send_cells(cells_we_need, received_needs);
+      exchange_data_on_cells(cells_we_need, received_needs);
 
       // The list of received needs can contain some cells more than once
       // because different processes may need data from the same cell.
@@ -1389,7 +1389,7 @@ namespace FETools
           // and receive data from the correct call
           ++round;
 
-          send_cells(cells_to_send, received_cells);
+          exchange_data_on_cells(cells_to_send, received_cells);
 
           // store received cell_data
           for (const auto &recv : received_cells)
@@ -1402,7 +1402,7 @@ namespace FETools
           ++round;
 
           // finally send and receive new needs and start a new round
-          send_cells(new_needs, received_needs);
+          exchange_data_on_cells(new_needs, received_needs);
         }
       while (ready != 0);
     }

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.