From: Wolfgang Bangerth Date: Sun, 31 Dec 2017 22:24:59 +0000 (-0700) Subject: Add comment. X-Git-Tag: v9.0.0-rc1~589^2~4 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1a46dbf7d2d49405cbfa88e87f4ba0f9af398ca;p=dealii.git Add comment. --- 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