From 113f452135232897550acd668559212cf9cdd8a6 Mon Sep 17 00:00:00 2001 From: bangerth Date: Thu, 27 Jul 2006 16:22:17 +0000 Subject: [PATCH] Provide nth_active_fe_index. git-svn-id: https://svn.dealii.org/trunk@13449 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/dofs/dof_accessor.h | 55 ++++++++++++------- .../include/dofs/dof_accessor.templates.h | 15 ++++- 2 files changed, 49 insertions(+), 21 deletions(-) diff --git a/deal.II/deal.II/include/dofs/dof_accessor.h b/deal.II/deal.II/include/dofs/dof_accessor.h index e0e20a2cb4..7636d16570 100644 --- a/deal.II/deal.II/include/dofs/dof_accessor.h +++ b/deal.II/deal.II/include/dofs/dof_accessor.h @@ -270,7 +270,7 @@ class DoFAccessor : public DoFObjectAccessor_Inheritancei degree - * on the @p vertexth vertex to @p index. + * on the @p vertex-th vertex to @p index. * * The last argument denotes the * finite element index. For the @@ -409,28 +409,43 @@ class DoFAccessor : public DoFObjectAccessor_Inheritance::n_active_fe_indices () const +template +inline +unsigned int +DoFAccessor::nth_active_fe_index (const unsigned int n) const +{ + // access the respective DoF + return this->dof_handler + ->template nth_active_fe_index (this->present_level, + this->present_index, + n); +} + + + template inline bool @@ -243,7 +257,6 @@ DoFAccessor::fe_index_is_active (const unsigned int fe_index) const } - /*------------------------- Functions: DoFObjectAccessor<1,dim> -----------------------*/ -- 2.39.5