From: Alexander Grayver Date: Fri, 23 Oct 2015 16:22:48 +0000 (+0200) Subject: Take communication out of the loop. X-Git-Tag: v8.4.0-rc2~290^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ef928915d35915289863b4de76693e416f453b6;p=dealii.git Take communication out of the loop. --- diff --git a/source/dofs/dof_tools_constraints.cc b/source/dofs/dof_tools_constraints.cc index 8c19ba84cb..f76dbee3fb 100644 --- a/source/dofs/dof_tools_constraints.cc +++ b/source/dofs/dof_tools_constraints.cc @@ -2601,10 +2601,6 @@ namespace DoFTools coarse_to_fine_grid_map[cell]-> set_dof_values_by_interpolation (parameter_dofs[local_parameter_dof], copy_data.global_parameter_representation[local_parameter_dof]); - -#ifdef DEAL_II_WITH_MPI - copy_data.global_parameter_representation[local_parameter_dof].update_ghost_values (); -#endif } } @@ -2759,6 +2755,11 @@ namespace DoFTools std_cxx11::ref(weights)), scratch, copy_data); + +#ifdef DEAL_II_WITH_MPI + for (size_t i=0; i