From 4cffacc8d33ae1ee4b4cabbe6fa90fa9b6f2d79f Mon Sep 17 00:00:00 2001 From: heister Date: Fri, 24 May 2013 14:02:55 +0000 Subject: [PATCH] fix bug in distribute mg dofs in parallel git-svn-id: https://svn.dealii.org/trunk@29571 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/dofs/dof_handler_policy.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deal.II/source/dofs/dof_handler_policy.cc b/deal.II/source/dofs/dof_handler_policy.cc index 87fe5c1f73..fbd3e001e2 100644 --- a/deal.II/source/dofs/dof_handler_policy.cc +++ b/deal.II/source/dofs/dof_handler_policy.cc @@ -2177,7 +2177,7 @@ namespace internal endc = dof_handler.end(level); for (; cell != endc; ++cell) - if (!cell->is_artificial() && + if (cell->level_subdomain_id()!=numbers::artificial_subdomain_id && (cell->level_subdomain_id() < tr->locally_owned_subdomain())) { // we found a -- 2.39.5