From: Wolfgang Bangerth Date: Sat, 10 Jun 2023 03:31:15 +0000 (-0600) Subject: Remove a variable that is no longer needed. X-Git-Tag: v9.5.0-rc1~130^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10de3e157a42f58881e9ae868fa555a3f9032c7a;p=dealii.git Remove a variable that is no longer needed. Specifically, the variable was only ever written to, never read. --- diff --git a/include/deal.II/fe/fe_tools_extrapolate.templates.h b/include/deal.II/fe/fe_tools_extrapolate.templates.h index 9f51948a89..a62357d988 100644 --- a/include/deal.II/fe/fe_tools_extrapolate.templates.h +++ b/include/deal.II/fe/fe_tools_extrapolate.templates.h @@ -1249,9 +1249,6 @@ namespace FETools std::vector 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);