]> https://gitweb.dealii.org/ - dealii.git/commitdiff
add comment
authorTimo Heister <timo.heister@gmail.com>
Fri, 3 Jan 2014 13:54:05 +0000 (13:54 +0000)
committerTimo Heister <timo.heister@gmail.com>
Fri, 3 Jan 2014 13:54:05 +0000 (13:54 +0000)
git-svn-id: https://svn.dealii.org/trunk@32156 0785d39b-7218-0410-832d-ea1e28bc413d

tests/mpi/step-39.cc

index 701887f007c7d0b831cd2c92a4d950dd7b6b0175..acd88c939cc04eac9c9b350ca9288bcb01ee3a63 100644 (file)
@@ -239,6 +239,7 @@ namespace Step39
       }
     dinfo1.value(0) = std::sqrt(dinfo1.value(0));
     dinfo2.value(0) = dinfo1.value(0);
+    // do not fill values if cells are ghost cells because we don't communicate
     if (!dinfo1.cell->is_locally_owned())
       dinfo1.value(0) = 0.0;
     if (!dinfo2.cell->is_locally_owned())

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.