From: kayser-herold Date: Fri, 25 May 2007 03:02:43 +0000 (+0000) Subject: Added a fix for the problem with the hpDoFHandler in 3D. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a791307c7f3655ec943d008d0a65fc424581594;p=dealii-svn.git Added a fix for the problem with the hpDoFHandler in 3D. Why this fix acually solves the problem is not completely known yet. git-svn-id: https://svn.dealii.org/trunk@14702 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/hp/dof_handler.cc b/deal.II/deal.II/source/hp/dof_handler.cc index 3507cf0148..33d6c7572f 100644 --- a/deal.II/deal.II/source/hp/dof_handler.cc +++ b/deal.II/deal.II/source/hp/dof_handler.cc @@ -2475,7 +2475,10 @@ namespace hp // there are more, then we punt, as // described in the paper (and // mentioned above) - if (unique_sets_of_dofs == 2) + //TODO: The check for 'dim==2' was inserted by intuition. It fixes + // the previous problems with step-27 in 3D. But an explanation + // for this is still required!. + if ((unique_sets_of_dofs == 2) && (dim == 2)) { // find out which is the // most dominating finite