]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make a few functions inline, in hopes of fixing the icc71 build failure today.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Apr 2005 02:13:36 +0000 (02:13 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Apr 2005 02:13:36 +0000 (02:13 +0000)
git-svn-id: https://svn.dealii.org/trunk@10470 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_tools.cc

index d8edb0d82788fd6282ad8fbe52b31b48939dd0c9..faed071f6d9186364ecd17b55f285f589993c2d4 100644 (file)
@@ -50,6 +50,7 @@
 namespace 
 {
   template <int dim>
+  inline
   unsigned int
   max_dofs_per_cell (const DoFHandler<dim> &dh) 
   {
@@ -58,6 +59,7 @@ namespace
 
 
   template <int dim>
+  inline
   unsigned int
   max_dofs_per_face (const DoFHandler<dim> &dh) 
   {
@@ -66,6 +68,7 @@ namespace
 
 
   template <int dim>
+  inline
   unsigned int
   n_components (const DoFHandler<dim> &dh) 
   {
@@ -86,6 +89,7 @@ namespace
                                    // T==double, and otherwise uses a
                                    // temporary
   template <int dim>
+  inline
   void gim_forwarder (const FiniteElement<dim> &fe1,
                       const FiniteElement<dim> &fe2,
                       FullMatrix<double> &interpolation_matrix)
@@ -95,6 +99,7 @@ namespace
 
   
   template <int dim, typename number>
+  inline
   void gim_forwarder (const FiniteElement<dim> &fe1,
                       const FiniteElement<dim> &fe2,
                       FullMatrix<number> &interpolation_matrix)
@@ -108,6 +113,7 @@ namespace
                                   // return true if the given pattern
                                   // string matches the given name at
                                   // the first position of the string
+  inline
   bool
   match_at_string_start (const std::string &name,
                         const std::string &pattern)
@@ -134,6 +140,7 @@ namespace
                                   // if no integer can be read at the
                                   // indicated position, return
                                   // (-1,-1)
+  inline
   std::pair<int, unsigned int>
   get_integer (const std::string &name,
               const unsigned int position)
@@ -186,6 +193,7 @@ namespace
                                   // replaced with the numeric value
                                   // of the template argument
   template <int dim>
+  inline
   unsigned int match_dimension (const std::string &name,
                                const unsigned int position)
   {
@@ -223,6 +231,8 @@ namespace
   }
 }
 
+
+
 template<int dim>
 void FETools::compute_component_wise(
   const FiniteElement<dim>& element,

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.