]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix 3d non-compilability.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 15 May 2000 12:25:41 +0000 (12:25 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 15 May 2000 12:25:41 +0000 (12:25 +0000)
git-svn-id: https://svn.dealii.org/trunk@2858 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/dofs/dof_tools.cc

index 785142f226de31a82a4f1647458957e1f86eb7a1..530936b80f3a2243e165e73f9d3d00e219d41dbe 100644 (file)
@@ -470,10 +470,10 @@ void DoFTools::make_hanging_node_constraints (const DoFHandler<3> &dof_handler,
   DoFHandler<dim>::active_cell_iterator cell = dof_handler.begin_active(),
                                        endc = dof_handler.end();
   for (; cell!=endc; ++cell)
-    for (unsigned int face=0; face<GeometryInfo<dim>::faces_per_cell; ++face)
-      if (cell->face(face)->has_children()) 
+    for (unsigned int f=0; f<GeometryInfo<dim>::faces_per_cell; ++f)
+      if (cell->face(f)->has_children()) 
        {
-         const DoFHandler<dim>::face_iterator face = cell->face(face);
+         const DoFHandler<dim>::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<dim>::active_cell_iterator cell = dof_handler.begin_active(),
                                        endc = dof_handler.end();
   for (; cell!=endc; ++cell)
-    for (unsigned int face=0; face<GeometryInfo<dim>::faces_per_cell; ++face)
-      if (cell->face(face)->has_children()) 
+    for (unsigned int f=0; f<GeometryInfo<dim>::faces_per_cell; ++f)
+      if (cell->face(f)->has_children()) 
        {
-         const DoFHandler<dim>::face_iterator face = cell->face(face);
+         const DoFHandler<dim>::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;

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.