From: Timo Heister Date: Fri, 3 Jan 2014 13:47:57 +0000 (+0000) Subject: meshworker: only assemble boundary terms for own cells X-Git-Tag: v8.2.0-rc1~1080 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5303eb7c6c42803cbd9658d7beb6b3a984e40421;p=dealii.git meshworker: only assemble boundary terms for own cells git-svn-id: https://svn.dealii.org/trunk@32152 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/meshworker/loop.h b/deal.II/include/deal.II/meshworker/loop.h index 8b362bdf7f..22110233a2 100644 --- a/deal.II/include/deal.II/meshworker/loop.h +++ b/deal.II/include/deal.II/meshworker/loop.h @@ -220,7 +220,8 @@ namespace MeshWorker typename ITERATOR::AccessorType::Container::face_iterator face = cell->face(face_no); if (cell->at_boundary(face_no)) { - if (integrate_boundary) + // only integrate boundary faces of own cells + if (integrate_boundary && own_cell) { dof_info.interior_face_available[face_no] = true; dof_info.interior[face_no].reinit(cell, face, face_no);