]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix tolerance because particles are still lost
authorBruno Blais <blais.bruno@gmail.com>
Mon, 24 Jan 2022 14:49:54 +0000 (09:49 -0500)
committerBruno Blais <blais.bruno@gmail.com>
Mon, 24 Jan 2022 15:19:56 +0000 (10:19 -0500)
source/particles/particle_handler.cc

index 1d7a9b703d77c79b1ae6873f517a9b9e534baa68..d6120e06260853679145a9f0e2b1dee37097cf6d 100644 (file)
@@ -1376,7 +1376,7 @@ namespace Particles
                                                           reference_locations);
 
               if (GeometryInfo<dim>::is_inside_unit_cell(
-                    reference_locations[0]))
+                    reference_locations[0]),1e-12)
                 {
                   current_cell = *cell;
                   found_cell   = true;

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.