From: heister Date: Fri, 3 Jan 2014 13:54:05 +0000 (+0000) Subject: add comment X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=365b9d15e6cf1f5c404b30ef6e0d9acdea14717d;p=dealii-svn.git add comment git-svn-id: https://svn.dealii.org/trunk@32156 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/mpi/step-39.cc b/tests/mpi/step-39.cc index 701887f007..acd88c939c 100644 --- a/tests/mpi/step-39.cc +++ b/tests/mpi/step-39.cc @@ -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())