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)
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)
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)
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)