]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove a commented out piece of code.
authorWolfgang Bangerth <bangerth@colostate.edu>
Sun, 18 Jun 2017 01:43:50 +0000 (19:43 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 19 Jun 2017 03:48:48 +0000 (21:48 -0600)
The code suggests that one could update the cell DoF cache, but the cache only
exists for non-MG DoF indices, whereas the function where the comment resides
deals with MG level DoFs.

source/dofs/dof_handler_policy.cc

index 31fad1682f35956400704a8104763b4d2cbde54b..8eca69cace1a651a92f4b50a397c8acae15c2ef3 100644 (file)
@@ -460,13 +460,6 @@ namespace internal
               next_free_dof
                 = Implementation::distribute_mg_dofs_on_cell (dof_handler, cell, next_free_dof);
 
-//                                               // update the cache used
-//                                               // for cell dof indices
-//              for (typename DoFHandler<dim,spacedim>::level_cell_iterator
-//                     cell = dof_handler.begin(); cell != dof_handler.end(); ++cell)
-//                if (cell->subdomain_id() != numbers::artificial_subdomain_id)
-//                  cell->update_cell_dof_indices_cache ();
-
           // finally restore the user flags
           const_cast<dealii::Triangulation<dim,spacedim> &>(tria).load_user_flags(user_flags);
 

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.