]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fix bug in distribute mg dofs in parallel
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 24 May 2013 14:02:55 +0000 (14:02 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 24 May 2013 14:02:55 +0000 (14:02 +0000)
git-svn-id: https://svn.dealii.org/trunk@29571 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/dofs/dof_handler_policy.cc

index 87fe5c1f73ac2c7aa1220963b09a3dd29dd18323..fbd3e001e29ba277389cf5f90228183ee5de96b6 100644 (file)
@@ -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

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.