From 6a6c3fc07755cabd7d27147ea46b7ec36c482bd4 Mon Sep 17 00:00:00 2001 From: heister Date: Sat, 1 Jun 2013 19:24:44 +0000 Subject: [PATCH] make a lot more tests work git-svn-id: https://svn.dealii.org/trunk@29720 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/dofs/dof_renumbering.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deal.II/source/dofs/dof_renumbering.cc b/deal.II/source/dofs/dof_renumbering.cc index 30281f1ea2..f7d9e8796e 100644 --- a/deal.II/source/dofs/dof_renumbering.cc +++ b/deal.II/source/dofs/dof_renumbering.cc @@ -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 -- 2.39.5