]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Mention that we can still access the old index sets in DoFHandler 8065/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Fri, 10 May 2019 16:09:20 +0000 (18:09 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Fri, 10 May 2019 16:09:48 +0000 (18:09 +0200)
source/dofs/dof_handler_policy.cc

index 0a43d18831fccb2536f1fd8714e4b6e5e5a2934f..66a501a6866612413648ff5a3e804e10bd5c588f 100644 (file)
@@ -5679,6 +5679,8 @@ namespace internal
                                             *dof_handler,
                                             /*check_validity=*/false);
 
+            // Since we have not updated the number cache yet, we can use the
+            // index sets contained in the DoFHandler at this stage.
             return NumberCache(dof_handler->locally_owned_dofs_per_processor(),
                                Utilities::MPI::this_mpi_process(
                                  triangulation->get_communicator()));

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.