From: blaisb Date: Sun, 10 May 2020 02:51:49 +0000 (-0400) Subject: Applied Martin Kronbichler suggestions X-Git-Tag: v9.2.0-rc1~53^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=982d9b5ec2c6f3f9144d58a2e4ad496bf101cc3c;p=dealii.git Applied Martin Kronbichler suggestions - Removed useless includes out of interpolate_on_particle_01.cc test --- 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