]> https://gitweb.dealii.org/ - dealii.git/commitdiff
inline operators and make function static
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Thu, 26 Jan 2006 11:52:29 +0000 (11:52 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Thu, 26 Jan 2006 11:52:29 +0000 (11:52 +0000)
git-svn-id: https://svn.dealii.org/trunk@12182 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/dofs/dof_tools.h

index 50591fda455e731677dd6f66077b59f94144d17c..7adef23e6b3bf34dca1d7abfd7a05edecd72e68b 100644 (file)
@@ -1495,9 +1495,10 @@ class DoFTools
                                      * length inside this function.
                                      */
     template <int dim>
-    void convert_couplings_to_blocks (const hp::DoFHandler<dim>& dof_handler,
-                                     const Table<2, Coupling>& table_by_component,
-                                     std::vector<Table<2,Coupling> >& tables_by_block);
+    static void
+    convert_couplings_to_blocks (const hp::DoFHandler<dim>& dof_handler,
+                                const Table<2, Coupling>& table_by_component,
+                                std::vector<Table<2,Coupling> >& tables_by_block);
                                     /**
                                      * Map a coupling table from the
                                      * user friendly organization by
@@ -1514,9 +1515,10 @@ class DoFTools
                                      * length inside this function.
                                      */
     template <int dim>
-    void convert_couplings_to_blocks (const DoFHandler<dim>& dof_handler,
-                                     const Table<2, Coupling>& table_by_component,
-                                     std::vector<Table<2,Coupling> >& tables_by_block);
+    static void
+    convert_couplings_to_blocks (const DoFHandler<dim>& dof_handler,
+                                const Table<2, Coupling>& table_by_component,
+                                std::vector<Table<2,Coupling> >& tables_by_block);
     
                                     /**
                                      * Exception
@@ -1638,6 +1640,7 @@ class DoFTools
  *
  * @relates DoFTools
  */
+inline
 DoFTools::Coupling operator |= (DoFTools::Coupling& c1,
                                const DoFTools::Coupling c2)
 {
@@ -1654,6 +1657,7 @@ DoFTools::Coupling operator |= (DoFTools::Coupling& c1,
  *
  * @relates DoFTools
  */
+inline
 DoFTools::Coupling operator | (const DoFTools::Coupling c1,
                               const DoFTools::Coupling c2)
 {

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.