From 14df2e51896d063c1f7475c10ba1a65dac49f908 Mon Sep 17 00:00:00 2001 From: wolf Date: Thu, 21 Feb 2002 17:51:44 +0000 Subject: [PATCH] Take over fix 1.83->1.84 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 | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/deal.II/deal.II/source/dofs/dof_tools.cc b/deal.II/deal.II/source/dofs/dof_tools.cc index 9ce0174e7e..85809786b0 100644 --- a/deal.II/deal.II/source/dofs/dof_tools.cc +++ b/deal.II/deal.II/source/dofs/dof_tools.cc @@ -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++] -- 2.39.5