]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add missing function DoFAccessor<0,1,spacedim>::vertex_dof_index.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 21 Nov 2010 02:29:21 +0000 (02:29 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 21 Nov 2010 02:29:21 +0000 (02:29 +0000)
git-svn-id: https://svn.dealii.org/trunk@22831 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/dofs/dof_accessor.templates.h

index ec9e7a713c1315089af981496328b3813d4a9424..eb9a19174cca82e519d38c63ded069a94eaab3f0 100644 (file)
@@ -1918,6 +1918,24 @@ get_dof_indices (std::vector<unsigned int> &dof_indices,
 
 
 
+template <template <int, int> class DH, int spacedim>
+inline
+unsigned int
+DoFAccessor<0,DH<1,spacedim> >::
+vertex_dof_index (const unsigned int vertex,
+                 const unsigned int i,
+                 const unsigned int fe_index) const
+{
+  Assert (vertex == 0, ExcIndexRange (vertex, 0, 1));
+  return internal::DoFAccessor::Implementation::
+    get_vertex_dof_index (*dof_handler,
+                         this->global_vertex_index,
+                         fe_index,
+                         i);
+}
+
+
+
 template <template <int, int> class DH, int spacedim>
 inline
 void

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.