From: blaisb Date: Tue, 12 May 2020 20:14:06 +0000 (-0400) Subject: Removed two variables which were not used in particles/utilities.h X-Git-Tag: v9.2.0-rc2~21^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e333581febd3b4036c779877f9488738749e89e5;p=dealii.git Removed two variables which were not used in particles/utilities.h --- diff --git a/include/deal.II/particles/utilities.h b/include/deal.II/particles/utilities.h index 1989300e56..51af5a992e 100644 --- a/include/deal.II/particles/utilities.h +++ b/include/deal.II/particles/utilities.h @@ -206,8 +206,6 @@ namespace Particles const auto &tria = field_dh.get_triangulation(); const auto &fe = field_dh.get_fe(); auto particle = particle_handler.begin(); - const auto max_particles_per_cell = - particle_handler.n_global_max_particles_per_cell(); // Take care of components const ComponentMask comps = @@ -236,8 +234,7 @@ namespace Particles const auto &dh_cell = typename DoFHandler::cell_iterator(*cell, &field_dh); dh_cell->get_dof_indices(dof_indices); - const auto pic = particle_handler.particles_in_cell(cell); - const auto n_particles = particle_handler.n_particles_in_cell(cell); + const auto pic = particle_handler.particles_in_cell(cell); Assert(pic.begin() == particle, ExcInternalError()); for (unsigned int i = 0; particle != pic.end(); ++particle, ++i)