]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Document particle_lost in particle handler. 10492/head
authorLuca Heltai <luca.heltai@sissa.it>
Wed, 10 Jun 2020 11:27:53 +0000 (13:27 +0200)
committerLuca Heltai <luca.heltai@sissa.it>
Wed, 10 Jun 2020 11:27:53 +0000 (13:27 +0200)
include/deal.II/particles/particle_handler.h

index 136ec3a5d89fe3fbbae31488ead64a7f2bc692c1..d4f2f447ccfa126fd50db199465853ab969bd811 100644 (file)
@@ -557,6 +557,12 @@ namespace Particles
      * After this function call every particle is either on its current
      * process and in its current cell, or deleted (if it could not find
      * its new process or cell).
+     *
+     * The user may attach a function to the signal
+     * Particles::ParticleHandler::Signals::particle_lost(). The signal is
+     * triggered whenever a particle is deleted, and the connected functions
+     * are called passing an iterator to the particle in question, and its last
+     * known cell association.
      */
     void
     sort_particles_into_subdomains_and_cells();

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.