From: David Wells Date: Tue, 23 Nov 2021 01:53:12 +0000 (-0500) Subject: Remove set_vertex_dof_index(). X-Git-Tag: v9.4.0-rc1~809^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F12984%2Fhead;p=dealii.git Remove set_vertex_dof_index(). This is no longer used as of e759ceee8e. --- diff --git a/include/deal.II/dofs/dof_accessor.h b/include/deal.II/dofs/dof_accessor.h index b3636f13b9..0ccf0c8369 100644 --- a/include/deal.II/dofs/dof_accessor.h +++ b/include/deal.II/dofs/dof_accessor.h @@ -723,31 +723,6 @@ protected: const unsigned int i, const types::global_dof_index index) const; - /** - * Set the global index of the i degree on the @p vertex-th vertex of - * the present cell to @p index. - * - * The last argument denotes the finite element index. For the standard - * ::DoFHandler class, this value must be equal to its default value since - * that class only supports the same finite element on all cells anyway. - * - * However, when the relevant DoFHandler has hp-capabilities, different - * finite element objects may be used on different cells. On faces between - * two cells, as well as vertices, there may therefore be two sets of - * degrees of freedom, one for each of the finite elements used on the - * adjacent cells. In order to specify which set of degrees of freedom to - * work on, the last argument is used to disambiguate. Finally, if this - * function is called for a cell object, there can only be a single set of - * degrees of freedom, and fe_index has to match the result of - * active_fe_index(). - */ - void - set_vertex_dof_index(const unsigned int vertex, - const unsigned int i, - const types::global_dof_index index, - const unsigned int fe_index = - DoFHandler::invalid_fe_index) const; - void set_mg_vertex_dof_index(const int level, const unsigned int vertex, @@ -1228,31 +1203,6 @@ protected: const types::global_dof_index index, const unsigned int fe_index = AccessorData::invalid_fe_index) const; - /** - * Set the global index of the i degree on the @p vertex-th vertex of - * the present cell to @p index. - * - * The last argument denotes the finite element index. For the standard - * ::DoFHandler class, this value must be equal to its default value since - * that class only supports the same finite element on all cells anyway. - * - * However, when the relevant DoFHandler has hp-capabilities, different - * finite element objects may be used on different cells. On faces between - * two cells, as well as vertices, there may therefore be two sets of - * degrees of freedom, one for each of the finite elements used on the - * adjacent cells. In order to specify which set of degrees of freedom to - * work on, the last argument is used to disambiguate. Finally, if this - * function is called for a cell object, there can only be a single set of - * degrees of freedom, and fe_index has to match the result of - * active_fe_index(). - */ - void - set_vertex_dof_index( - const unsigned int vertex, - const unsigned int i, - const types::global_dof_index index, - const unsigned int fe_index = AccessorData::invalid_fe_index) const; - // Iterator classes need to be friends because they need to access // operator== and operator!=. template diff --git a/include/deal.II/dofs/dof_accessor.templates.h b/include/deal.II/dofs/dof_accessor.templates.h index 95223ebe54..44e63875d0 100644 --- a/include/deal.II/dofs/dof_accessor.templates.h +++ b/include/deal.II/dofs/dof_accessor.templates.h @@ -1581,30 +1581,6 @@ DoFAccessor::mg_vertex_dof_index( } -template -inline void -DoFAccessor::set_vertex_dof_index( - const unsigned int vertex, - const unsigned int i, - const types::global_dof_index index, - const unsigned int fe_index_) const -{ - const unsigned int fe_index = - (this->dof_handler->hp_capability_enabled == false && - fe_index_ == DoFHandler::invalid_fe_index) ? - DoFHandler::default_fe_index : - fe_index_; - - dealii::internal::DoFAccessorImplementation::Implementation::set_dof_index( - *this->dof_handler, - 0, - this->vertex_index(vertex), - fe_index, - i, - std::integral_constant(), - index); -} - template inline void @@ -1908,19 +1884,6 @@ DoFAccessor<0, 1, spacedim, level_dof_access>::set_dof_index( -template -inline void -DoFAccessor<0, 1, spacedim, level_dof_access>::set_vertex_dof_index( - const unsigned int /*vertex*/, - const unsigned int /*i*/, - const types::global_dof_index /*index*/, - const unsigned int /*fe_index*/) const -{ - Assert(false, ExcNotImplemented()); -} - - - template inline const DoFHandler<1, spacedim> & DoFAccessor<0, 1, spacedim, level_dof_access>::get_dof_handler() const