From d5c526db217e1e1f2fa0bb3192ae6ba55579b1c8 Mon Sep 17 00:00:00 2001 From: bangerth Date: Wed, 16 May 2012 22:16:14 +0000 Subject: [PATCH] Add to documentation. git-svn-id: https://svn.dealii.org/trunk@25514 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/dofs/dof_accessor.h | 38 +++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/deal.II/include/deal.II/dofs/dof_accessor.h b/deal.II/include/deal.II/dofs/dof_accessor.h index 64a2581450..0ceee3f85d 100644 --- a/deal.II/include/deal.II/dofs/dof_accessor.h +++ b/deal.II/include/deal.II/dofs/dof_accessor.h @@ -478,6 +478,25 @@ class DoFAccessor : public internal::DoFAccessor::Inheritance > : public TriaAccessor<0,1,spacedim> * freedom, and fe_index has to * match the result of * active_fe_index(). + * + * @note While the get_dof_indices() + * function returns an array that + * contains the indices of all degrees of + * freedom that somehow live on this + * object (i.e. on the vertices, edges or + * interior of this object), the current + * dof_index() function only considers + * the DoFs that really belong to this + * particular object's interior. In other + * words, as an example, if the current + * object refers to a quad (a cell in 2d, + * a face in 3d) and the finite element + * associated with it is a bilinear one, + * then the get_dof_indices() will return + * an array of size 4 while dof_index() + * will produce an exception because no + * degrees are defined in the interior of + * the face. */ unsigned int dof_index (const unsigned int i, const unsigned int fe_index = AccessorData::default_fe_index) const; -- 2.39.5