}
else
{
- if (!face_has_flux_coupling(cell, face_n))
- continue;
-
typename DoFHandler<dim,
spacedim>::level_cell_iterator
neighbor =
neighbor->is_locally_owned())
continue; // (the neighbor is finer)
+ if (!face_has_flux_coupling(cell, face_n))
+ continue;
+
+
const unsigned int neighbor_face_n =
periodic_neighbor ?
cell->periodic_neighbor_face_no(face_n) :
level_cell_iterator neighbor =
cell->neighbor_or_periodic_neighbor(face);
- if (!face_has_flux_coupling(cell, face))
- continue;
-
// Like the non-hp-case: If the cells are on the same
// level (and both are active, locally-owned cells)
// then only add to the sparsity pattern if the
neighbor->is_locally_owned())
continue; // (the neighbor is finer)
+
+ if (!face_has_flux_coupling(cell, face))
+ continue;
+
// In 1d, go straight to the cell behind this
// particular cell's most terminal cell. This makes us
// skip the if (neighbor->has_children()) section