]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove a variable that is no longer needed. 15339/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Sat, 10 Jun 2023 03:31:15 +0000 (21:31 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sat, 10 Jun 2023 03:31:15 +0000 (21:31 -0600)
Specifically, the variable was only ever written to, never read.

include/deal.II/fe/fe_tools_extrapolate.templates.h

index 9f51948a89912e2a92fb362565145df7e5ff886e..a62357d9887f623d3d370e005e4854b6cb0c68f8 100644 (file)
@@ -1249,9 +1249,6 @@ namespace FETools
       std::vector<CellData> cells_we_need, cells_to_compute, received_cells,
         received_needs, new_needs, computed_cells, cells_to_send;
 
-      // reset the round count we will use in send_cells
-      round = 0;
-
       // Compute all the cells needed from other processes.
       compute_needs(dof2, cells_we_need);
 
@@ -1307,10 +1304,6 @@ namespace FETools
                 }
             }
 
-          // increase the round counter, such that we are sure to only send
-          // and receive data from the correct call
-          ++round;
-
           exchange_data_on_cells(cells_to_send, received_cells);
 
           // store received cell_data
@@ -1319,11 +1312,7 @@ namespace FETools
               cell_data_insert(recv, available_cells);
             }
 
-          // increase the round counter, such that we are sure to only send
-          // and receive data from the correct call
-          ++round;
-
-          // finally send and receive new needs and start a new round
+          // finally send and receive new 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.