From c1a46dbf7d2d49405cbfa88e87f4ba0f9af398ca Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sun, 31 Dec 2017 15:24:59 -0700 Subject: [PATCH] Add comment. --- source/dofs/dof_renumbering.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/dofs/dof_renumbering.cc b/source/dofs/dof_renumbering.cc index cf5649bdc6..2d320265e3 100644 --- a/source/dofs/dof_renumbering.cc +++ b/source/dofs/dof_renumbering.cc @@ -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 -- 2.39.5