From: wolf Date: Mon, 15 May 2000 12:25:41 +0000 (+0000) Subject: Fix 3d non-compilability. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68161f91eafda465b95720cea62c663dfd7889c3;p=dealii-svn.git Fix 3d non-compilability. git-svn-id: https://svn.dealii.org/trunk@2858 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 785142f226..530936b80f 100644 --- a/deal.II/deal.II/source/dofs/dof_tools.cc +++ b/deal.II/deal.II/source/dofs/dof_tools.cc @@ -470,10 +470,10 @@ void DoFTools::make_hanging_node_constraints (const DoFHandler<3> &dof_handler, DoFHandler::active_cell_iterator cell = dof_handler.begin_active(), endc = dof_handler.end(); for (; cell!=endc; ++cell) - for (unsigned int face=0; face::faces_per_cell; ++face) - if (cell->face(face)->has_children()) + for (unsigned int f=0; f::faces_per_cell; ++f) + if (cell->face(f)->has_children()) { - const DoFHandler::face_iterator face = cell->face(face); + const DoFHandler::face_iterator face = cell->face(f); // fill the dofs indices. Use same // enumeration scheme as in @@ -851,10 +851,10 @@ DoFTools::extract_hanging_node_dofs (const DoFHandler<3> &dof_handler, DoFHandler::active_cell_iterator cell = dof_handler.begin_active(), endc = dof_handler.end(); for (; cell!=endc; ++cell) - for (unsigned int face=0; face::faces_per_cell; ++face) - if (cell->face(face)->has_children()) + for (unsigned int f=0; f::faces_per_cell; ++f) + if (cell->face(f)->has_children()) { - const DoFHandler::face_iterator face = cell->face(face); + const DoFHandler::face_iterator face = cell->face(f); for (unsigned int dof=0; dof!=fe.dofs_per_vertex; ++dof) selected_dofs[face->child(0)->vertex_dof_index(2,dof)] = true;