]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix: Make the DoFHandler::renumber_dofs and DoFHandler::n_dofs functions accessible...
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 9 Dec 2002 16:57:05 +0000 (16:57 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 9 Dec 2002 16:57:05 +0000 (16:57 +0000)
git-svn-id: https://svn.dealii.org/trunk@6806 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/multigrid/mg_dof_handler.h

index 570361db70e84e9125ae4eb94468658e6b5d1ee7..9e98adaf68914b2a3f8d59ac9c22b4b82559a3f3 100644 (file)
@@ -228,6 +228,15 @@ class MGDoFHandler : public DoFHandler<dim>
     void renumber_dofs (const unsigned int               level,
                        const std::vector<unsigned int> &new_numbers);
 
+                                    /**
+                                     * Redeclare this function of the
+                                     * @ref{DoFHandler} basis class
+                                     * as otherwise it is hidden from
+                                     * the function with the same
+                                     * name, see above.
+                                     */
+    void renumber_dofs (const std::vector<unsigned int> &new_numbers);
+    
                                     /*--------------------------------------*/
     
                                     /**
@@ -831,6 +840,7 @@ class MGDoFHandler : public DoFHandler<dim>
     
                                     /*---------------------------------------*/
 
+    
                                     /**
                                      * Return the number of degrees
                                      * of freedom on the specified
@@ -841,6 +851,15 @@ class MGDoFHandler : public DoFHandler<dim>
                                      */
     unsigned int n_dofs (const unsigned int level) const;
 
+                                    /**
+                                     * Redeclare this function of the
+                                     * @ref{DoFHandler} basis class
+                                     * as otherwise it is hidden from
+                                     * the function with the same
+                                     * name, see above.
+                                     */
+    unsigned int n_dofs () const;
+    
                                     /**
                                      * Exception.
                                      */
@@ -1075,8 +1094,25 @@ class MGDoFHandler : public DoFHandler<dim>
 };
 
 
-/* ----------------------- Inline functions of MGVertexDoFs -------------------*/
+/* ----------------------- Inline functions of MGDoFHandler -------------------*/
 
+template <int dim>
+inline
+unsigned int MGDoFHandler<dim>::n_dofs() const
+{
+  return DoFHandler<dim>::n_dofs();
+}
+
+
+template <int dim>
+inline
+void MGDoFHandler<dim>::renumber_dofs (const std::vector<unsigned int> &new_numbers)
+{
+  return DoFHandler<dim>::renumber_dofs (new_numbers);
+}
+
+
+/* ----------------------- Inline functions of MGVertexDoFs -------------------*/
 
 template <int dim>
 inline

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.