]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Removed two variables which were not used in particles/utilities.h 10177/head
authorblaisb <blais.bruno@gmail.com>
Tue, 12 May 2020 20:14:06 +0000 (16:14 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Wed, 13 May 2020 03:32:36 +0000 (23:32 -0400)
include/deal.II/particles/utilities.h

index 1989300e5603db193af27aec8f3bf27e31b42a0e..51af5a992e6226c6cf9a79e23b9b86df47241acf 100644 (file)
@@ -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<dim, spacedim>::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)

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.