]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add comment.
authorWolfgang Bangerth <bangerth@colostate.edu>
Sun, 31 Dec 2017 22:24:59 +0000 (15:24 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 4 Jan 2018 14:42:16 +0000 (07:42 -0700)
source/dofs/dof_renumbering.cc

index cf5649bdc672b41af0352f89d98d4785ec5471cc..2d320265e3fa7a37c50c159b313f8db0ca548ebf 100644 (file)
@@ -1215,6 +1215,14 @@ namespace DoFRenumbering
         }
       else
         {
+          // this is a terminal cell. we need to renumber its DoF indices. there
+          // are now three cases to decide:
+          // - this is a sequential triangulation: we can just go ahead and number
+          //   the DoFs in the order in which we encounter cells. in this case,
+          //   all cells are actually locally owned
+          // - if this is a parallel::distributed::Triangulation, then we only
+          //   need to work on the locally owned cells since they contain
+          //   all locally owned DoFs.
           if (cell->is_locally_owned())
             {
               // first get the existing DoF indices

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.