]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix glitch with blockwise numbering
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 13 Mar 2012 15:29:46 +0000 (15:29 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 13 Mar 2012 15:29:46 +0000 (15:29 +0000)
git-svn-id: https://svn.dealii.org/trunk@25271 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/meshworker/dof_info.templates.h

index d43af1b6493a769e4e37ccf10c7fce565f3820f7..76faf577b6d6227c616c25fb7c975f194cc72ad2 100644 (file)
@@ -51,7 +51,7 @@ namespace MeshWorker
            for (unsigned int i=0;i<indices.size();++i)
              {
                const std::pair<unsigned int, unsigned int>
-                 bi = block_info->local().global_to_local(i);
+                 bi = block_info->local().global_to_local(this->block_info->renumber(i));
                indices_by_block[bi.first][bi.second] = indices_org[i];
              }
                                             // Remove this after

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.