From: Daniel Arndt Date: Thu, 29 Aug 2019 03:49:23 +0000 (-0400) Subject: Remove begin_cell X-Git-Tag: v9.2.0-rc1~1162^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7bdaa8ce7c506fa5a177b910ce2b157f830f424;p=dealii.git Remove begin_cell --- diff --git a/source/distributed/tria.cc b/source/distributed/tria.cc index c09f51806a..bb9473154d 100644 --- a/source/distributed/tria.cc +++ b/source/distributed/tria.cc @@ -4598,8 +4598,6 @@ namespace parallel it = periodicity_vector.begin(); periodic_end = periodicity_vector.end(); - const auto begin_cell = this->begin(); - for (; it < periodic_end; ++it) { const cell_iterator first_cell = it->cell[0]; @@ -4609,11 +4607,9 @@ namespace parallel // respective cells of the matching faces in p4est const unsigned int tree_left = - coarse_cell_to_p4est_tree_permutation[first_cell->index() - - begin_cell->index()]; + coarse_cell_to_p4est_tree_permutation[first_cell->index()]; const unsigned int tree_right = - coarse_cell_to_p4est_tree_permutation[second_cell->index() - - begin_cell->index()]; + coarse_cell_to_p4est_tree_permutation[second_cell->index()]; // p4est wants to know which corner the first corner on // the face with the lower id is mapped to on the face with