From 24c625d490842764f3354bdde41a72f5df5d4c81 Mon Sep 17 00:00:00 2001 From: Jonathan L Matthews Date: Mon, 3 Sep 2018 15:16:00 -0700 Subject: [PATCH] added cell->is_locally_owned() in project_boundary_values_div_conforming() --- include/deal.II/numerics/vector_tools.templates.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/deal.II/numerics/vector_tools.templates.h b/include/deal.II/numerics/vector_tools.templates.h index 755f61f47f..905b636a53 100644 --- a/include/deal.II/numerics/vector_tools.templates.h +++ b/include/deal.II/numerics/vector_tools.templates.h @@ -6599,7 +6599,7 @@ namespace VectorTools dof_handler.begin_active(); cell != dof_handler.end(); ++cell) - if (cell->at_boundary()) + if (cell->at_boundary() && cell->is_locally_owned()) for (unsigned int face = 0; face < GeometryInfo::faces_per_cell; ++face) @@ -6672,7 +6672,7 @@ namespace VectorTools dof_handler.begin_active(); cell != dof_handler.end(); ++cell) - if (cell->at_boundary()) + if (cell->at_boundary() && cell->is_locally_owned()) for (unsigned int face = 0; face < GeometryInfo::faces_per_cell; ++face) @@ -6779,7 +6779,7 @@ namespace VectorTools dof_handler.begin_active(); cell != dof_handler.end(); ++cell) - if (cell->at_boundary()) + if (cell->at_boundary() && cell->is_locally_owned()) for (unsigned int face = 0; face < GeometryInfo::faces_per_cell; ++face) @@ -6837,7 +6837,7 @@ namespace VectorTools dof_handler.begin_active(); cell != dof_handler.end(); ++cell) - if (cell->at_boundary()) + if (cell->at_boundary() && cell->is_locally_owned()) for (unsigned int face = 0; face < GeometryInfo::faces_per_cell; ++face) -- 2.39.5