From 982d9b5ec2c6f3f9144d58a2e4ad496bf101cc3c Mon Sep 17 00:00:00 2001 From: blaisb Date: Sat, 9 May 2020 22:51:49 -0400 Subject: [PATCH] Applied Martin Kronbichler suggestions - Removed useless includes out of interpolate_on_particle_01.cc test --- include/deal.II/particles/utilities.h | 7 ++----- source/particles/utilities.cc | 1 - tests/particles/interpolate_on_particle_01.cc | 8 +------- 3 files changed, 3 insertions(+), 13 deletions(-) diff --git a/include/deal.II/particles/utilities.h b/include/deal.II/particles/utilities.h index 422077946b..1989300e56 100644 --- a/include/deal.II/particles/utilities.h +++ b/include/deal.II/particles/utilities.h @@ -162,10 +162,7 @@ namespace Particles const ComponentMask &space_comps = ComponentMask()); /** - * Interpolate a field to the position of the particles of a - * particle_handler - * - * Given a DoFHandler and a ParticleHandler, interpolates a vector field + * Given a DoFHandler and a ParticleHandler, interpolate a vector field * at the position of the particles. The result is stored in an output * vector whose size corresponds to the number of locally owned particles * * number of active components @@ -181,7 +178,7 @@ namespace Particles * * @param[in,out] interpolated_field The interpolated value of the field at * the position of the particles. The size of the vector must be - * n_locally_owned_particles * n_components + * n_locally_owned_particles times the n_components * * @param[in] field_comps An optional component mask that decides which * subset of the vector fields are interpolated diff --git a/source/particles/utilities.cc b/source/particles/utilities.cc index cfd8903af5..2493aa9c91 100644 --- a/source/particles/utilities.cc +++ b/source/particles/utilities.cc @@ -209,7 +209,6 @@ namespace Particles matrix.compress(VectorOperation::add); } - #include "utilities.inst" } // namespace Utilities diff --git a/tests/particles/interpolate_on_particle_01.cc b/tests/particles/interpolate_on_particle_01.cc index c5dfd36d81..1094204f18 100644 --- a/tests/particles/interpolate_on_particle_01.cc +++ b/tests/particles/interpolate_on_particle_01.cc @@ -25,16 +25,10 @@ #include #include -#include #include -#include -#include -#include -#include -#include -#include +#include #include -- 2.39.5