]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Added a fix for the problem with the hpDoFHandler in 3D.
authorkayser-herold <kayser-herold@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 25 May 2007 03:02:43 +0000 (03:02 +0000)
committerkayser-herold <kayser-herold@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 25 May 2007 03:02:43 +0000 (03:02 +0000)
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

deal.II/deal.II/source/hp/dof_handler.cc

index 3507cf01480cb2d8c34db4becb9ec4aaf1073da3..33d6c7572ff058b132f45307f03d64028d966508 100644 (file)
@@ -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

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.