]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Take over fix 1.83->1.84
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 21 Feb 2002 17:51:44 +0000 (17:51 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 21 Feb 2002 17:51:44 +0000 (17:51 +0000)
git-svn-id: https://svn.dealii.org/branches/Branch-3-3@5535 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 9ce0174e7e97fe688aff54d84f205acf83578e34..85809786b0abc20593db879c9f60b8ec6cea0152 100644 (file)
@@ -824,12 +824,15 @@ void DoFTools::make_hanging_node_constraints (const DoFHandler<3> &dof_handler,
                  ExcInternalError());
          
          next_index = 0;
-         Assert ((face->child(0)->vertex_dof_index(2,0) ==
-                  face->child(1)->vertex_dof_index(3,0)) &&
-                 (face->child(0)->vertex_dof_index(2,0) ==
-                  face->child(2)->vertex_dof_index(0,0)) &&
-                 (face->child(0)->vertex_dof_index(2,0) ==
-                  face->child(3)->vertex_dof_index(1,0)),
+
+                                          // assert some consistency
+                                          // assumptions
+         Assert ((face->child(0)->vertex_index(2) ==
+                  face->child(1)->vertex_index(3)) &&
+                 (face->child(0)->vertex_index(2) ==
+                  face->child(2)->vertex_index(0)) &&
+                 (face->child(0)->vertex_index(2) ==
+                  face->child(3)->vertex_index(1)),
                  ExcInternalError());
          for (unsigned int dof=0; dof!=fe.dofs_per_vertex; ++dof)
            dofs_on_children[next_index++]

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.