]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Applied Martin Kronbichler suggestions 9891/head
authorblaisb <blais.bruno@gmail.com>
Sun, 10 May 2020 02:51:49 +0000 (22:51 -0400)
committerblaisb <blais.bruno@gmail.com>
Sun, 10 May 2020 02:51:49 +0000 (22:51 -0400)
- Removed useless includes out of interpolate_on_particle_01.cc test

include/deal.II/particles/utilities.h
source/particles/utilities.cc
tests/particles/interpolate_on_particle_01.cc

index 422077946b67d8268d5173156824278c737047b5..1989300e5603db193af27aec8f3bf27e31b42a0e 100644 (file)
@@ -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
index cfd8903af59c139fd55eae1c91ef9dfa24af82b3..2493aa9c91e2a0eb86995a1c2f2b751ba9c2fe72 100644 (file)
@@ -209,7 +209,6 @@ namespace Particles
       matrix.compress(VectorOperation::add);
     }
 
-
 #include "utilities.inst"
 
   } // namespace Utilities
index c5dfd36d81023b60bf2cf3571c4becdd709ea2d4..1094204f18e4377047650992e4906a76e117960e 100644 (file)
 #include <deal.II/dofs/dof_tools.h>
 
 #include <deal.II/fe/fe_q.h>
-#include <deal.II/fe/fe_system.h>
 
 #include <deal.II/grid/grid_generator.h>
 
-#include <deal.II/lac/dynamic_sparsity_pattern.h>
-#include <deal.II/lac/sparse_matrix.h>
-#include <deal.II/lac/sparsity_pattern.h>
-#include <deal.II/lac/sparsity_tools.h>
-#include <deal.II/lac/trilinos_sparse_matrix.h>
-#include <deal.II/lac/trilinos_sparsity_pattern.h>
+#include <deal.II/lac/trilinos_vector.h>
 
 #include <deal.II/numerics/vector_tools.h>
 

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.