]> https://gitweb.dealii.org/ - dealii.git/commitdiff
make a lot more tests work
authorTimo Heister <timo.heister@gmail.com>
Sat, 1 Jun 2013 19:24:44 +0000 (19:24 +0000)
committerTimo Heister <timo.heister@gmail.com>
Sat, 1 Jun 2013 19:24:44 +0000 (19:24 +0000)
git-svn-id: https://svn.dealii.org/trunk@29720 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/dofs/dof_renumbering.cc

index 30281f1ea26ce9f83193cff1cffe5e014bcc567f..f7d9e8796ecc4f400b289c6e5e950cd7df7a70fe 100644 (file)
@@ -665,7 +665,9 @@ namespace DoFRenumbering
         if (is_level_operation)
           {
             //we are dealing with mg dofs, skip foreign level cells:
-            if (cell->level_subdomain_id()!=start->get_dof_handler().get_tria().locally_owned_subdomain())
+            if ((start->get_dof_handler().get_tria().locally_owned_subdomain() != numbers::invalid_subdomain_id)
+                &&
+                (cell->level_subdomain_id()!=start->get_dof_handler().get_tria().locally_owned_subdomain()))
               continue;
           }
         else

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.