From: kanschat Date: Fri, 3 Dec 1999 15:44:03 +0000 (+0000) Subject: Cosmetics X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02bb84b1c2ef7789b1f40e6b2323733958acd765;p=dealii-svn.git Cosmetics git-svn-id: https://svn.dealii.org/trunk@1974 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/dofs/dof_tools.cc b/deal.II/deal.II/source/dofs/dof_tools.cc index 8a30654c59..0fa8bed12f 100644 --- a/deal.II/deal.II/source/dofs/dof_tools.cc +++ b/deal.II/deal.II/source/dofs/dof_tools.cc @@ -44,7 +44,7 @@ DoFTools::make_flux_sparsity_pattern (const DoFHandler& dof, vector dofs_on_other_cell(total_dofs); DoFHandler::active_cell_iterator cell = dof.begin_active(), endc = dof.end(); - for (; cell!=endc; ++cell) + for (; cell!=endc; ++cell) { cell->get_dof_indices (dofs_on_this_cell); // make sparsity pattern for this cell @@ -58,7 +58,7 @@ DoFTools::make_flux_sparsity_pattern (const DoFHandler& dof, face < GeometryInfo::faces_per_cell; ++face) { - if (cell->face(face)->boundary_indicator() == 255) + if (! cell->at_boundary(face) ) { DoFHandler::active_cell_iterator neighbor = cell->neighbor(face); neighbor->get_dof_indices (dofs_on_other_cell);