]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make indent
authorRene Gassmoeller <rene.gassmoeller@mailbox.org>
Tue, 20 Feb 2024 18:34:02 +0000 (13:34 -0500)
committerRene Gassmoeller <rene.gassmoeller@mailbox.org>
Tue, 20 Feb 2024 18:34:02 +0000 (13:34 -0500)
examples/step-68/step-68.cc
include/deal.II/particles/particle_accessor.h
include/deal.II/particles/particle_handler.h
tests/performance/timing_step_68.cc

index 12214e966149c308b7669a4be6e349b75b9118a3..aeeb38fb9ae7eeefce4e4adf28c5d98206a95b07 100644 (file)
@@ -532,7 +532,7 @@ namespace Step68
         for (unsigned int particle_index = 0; particle != pic.end();
              ++particle, ++particle_index)
           {
-            Point<dim>            &particle_location = particle->get_location();
+            Point<dim>           &particle_location = particle->get_location();
             const Tensor<1, dim> &particle_velocity =
               evaluator.get_value(particle_index);
             particle_location += particle_velocity * dt;
index 267d5c10cb68eee4f6efa7691170af0bf18fd92d..da079889df46f67eae601c1956424b4a0a0019ad 100644 (file)
@@ -160,7 +160,7 @@ namespace Particles
      * Get read- and write-access to the location of this particle.
      * Note that changing the location does not check
      * whether this is a valid location in the simulation domain.
-     * 
+     *
      * @note In parallel programs, the ParticleHandler class stores particles
      *   on both the locally owned cells, as well as on ghost cells. The
      *   particles on the latter are *copies* of particles owned on other
index 672a116c37c1b3d96c23e98ae877e5656f9d971a..473f6a13b87b9713ed54bcd7fd53e142b3768c68 100644 (file)
@@ -1342,7 +1342,7 @@ namespace Particles
     for (auto &p : *this)
       {
         Point<spacedim> &position = p.get_location();
-        const auto      id = p.get_id();
+        const auto       id       = p.get_id();
 
         if (displace_particles)
           for (unsigned int i = 0; i < spacedim; ++i)
index 0caa5178419186d94d2670c60d19e59863144e94..69221ff7474b04b33a8b406dfa3c98c8482adde0 100644 (file)
@@ -317,7 +317,7 @@ namespace Step68
         for (unsigned int particle_index = 0; particle != pic.end();
              ++particle, ++particle_index)
           {
-            Point<dim>            &particle_location = particle->get_location();
+            Point<dim>           &particle_location = particle->get_location();
             const Tensor<1, dim> &particle_velocity =
               evaluator.get_value(particle_index);
             particle_location += particle_velocity * dt;

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.