]> https://gitweb.dealii.org/ - dealii.git/commitdiff
added cell->is_locally_owned() in project_boundary_values_div_conforming()
authorJonathan L Matthews <mrjonmatthews@gmail.com>
Mon, 3 Sep 2018 22:16:00 +0000 (15:16 -0700)
committerJean-Paul Pelteret <jppelteret@gmail.com>
Sat, 13 Oct 2018 19:12:22 +0000 (21:12 +0200)
include/deal.II/numerics/vector_tools.templates.h

index 755f61f47f3bbefa8cb256985759d5df6070fe17..905b636a539f7446a2492f290e9dc11b5bcd0f97 100644 (file)
@@ -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<dim>::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<dim>::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<dim>::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<dim>::faces_per_cell;
                      ++face)

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.