]> https://gitweb.dealii.org/ - dealii.git/commitdiff
new filtered iterator LocallyOwnedLevelCell
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 24 Jun 2013 13:25:09 +0000 (13:25 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 24 Jun 2013 13:25:09 +0000 (13:25 +0000)
git-svn-id: https://svn.dealii.org/trunk@29874 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/multigrid/mg_tools.cc

index 07b15f52a4fdc34029c87d64643567011b9427b9..752b9462483d32c0ae355b5c7fe1830cb285f8c3 100644 (file)
@@ -589,6 +589,8 @@ namespace MGTools
                                                      endc = dof.end(level);
     for (; cell!=endc; ++cell)
       {
+       if (!cell->is_locally_owned_on_level()) continue;
+       
         cell->get_mg_dof_indices (dofs_on_this_cell);
         // make sparsity pattern for this cell
         for (unsigned int i=0; i<dofs_per_cell; ++i)

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.