From e333581febd3b4036c779877f9488738749e89e5 Mon Sep 17 00:00:00 2001 From: blaisb Date: Tue, 12 May 2020 16:14:06 -0400 Subject: [PATCH] Removed two variables which were not used in particles/utilities.h --- include/deal.II/particles/utilities.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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) -- 2.39.5