From: Wolfgang Bangerth Date: Sun, 18 Jun 2017 01:37:59 +0000 (-0600) Subject: Remove a wrong comment. Add some code documentation. X-Git-Tag: v9.0.0-rc1~1487^2~7 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83af12ba7c8215f91daae26c3ef1ea23ab1ef094;p=dealii.git Remove a wrong comment. Add some code documentation. --- diff --git a/include/deal.II/dofs/dof_accessor.templates.h b/include/deal.II/dofs/dof_accessor.templates.h index ea91aa3caf..2e2e8ca99c 100644 --- a/include/deal.II/dofs/dof_accessor.templates.h +++ b/include/deal.II/dofs/dof_accessor.templates.h @@ -2793,9 +2793,7 @@ namespace internal // implementation for the case of - // hp::DoFHandler objects. it's - // not implemented there, for no - // space dimension + // hp::DoFHandler objects. template static void @@ -2805,7 +2803,7 @@ namespace internal if (accessor.has_children()) return; - const unsigned int dofs_per_cell = accessor.get_fe().dofs_per_cell; + const unsigned int dofs_per_cell = accessor.get_fe().dofs_per_cell; // make sure the cache is at least // as big as we need it when @@ -2823,6 +2821,9 @@ namespace internal ->cell_dof_indices_cache.size(), ExcInternalError()); + // call the get_dof_indices() function of DoFAccessor, which goes through all the + // parts of the cell to get the indices by hand. the corresponding function + // of DoFCellAccessor can then later use the cache std::vector dof_indices (dofs_per_cell); static_cast,level_dof_access> &> (accessor).get_dof_indices (dof_indices, accessor.active_fe_index());