]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove inlines to avoid icc8's undefined reference to DoFObjects::n_active_fe_indices...
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 16 Jun 2006 08:46:57 +0000 (08:46 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 16 Jun 2006 08:46:57 +0000 (08:46 +0000)
git-svn-id: https://svn.dealii.org/trunk@13264 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/dofs/dof_objects.cc

index 94058d1b92430e09a4127af487e5b7cee2fb5246..3bf6313bf73b9c5425616b0e13594e82d9f67d22 100644 (file)
@@ -31,10 +31,9 @@ namespace internal
 
     template <int dim>
     template <int spacedim>
-    inline
     unsigned int
     DoFObjects<dim>::n_active_fe_indices (const ::DoFHandler<spacedim> &,
-                                                   const unsigned) const
+                                         const unsigned) const
     {
       return 1;
     }
@@ -42,11 +41,10 @@ namespace internal
 
     template <int dim>
     template <int spacedim>
-    inline
     bool
     DoFObjects<dim>::fe_index_is_active (const ::DoFHandler<spacedim> &,
-                                                  const unsigned int,
-                                                  const unsigned int fe_index) const
+                                        const unsigned int,
+                                        const unsigned int fe_index) const
     {
       Assert (fe_index == 0,
               ExcMessage ("Only zero fe_index values are allowed for "
@@ -125,11 +123,8 @@ namespace internal
     }
 
 // explicit instantiations
-    template
-    unsigned int
-    DoFObjects<1>::
-    memory_consumption () const;
-    
+
+    template class DoFObjects<1>;
 
     template
     unsigned int
@@ -163,11 +158,7 @@ namespace internal
 
 #if deal_II_dimension >= 2
 
-    template
-    unsigned int
-    DoFObjects<2>::
-    memory_consumption () const;
-    
+    template class DoFObjects<2>;
 
     template
     unsigned int
@@ -203,11 +194,7 @@ namespace internal
 
 #if deal_II_dimension >= 3
     
-    template
-    unsigned int
-    DoFObjects<3>::
-    memory_consumption () const;
-    
+    template class DoFObjects<3>;
 
     template
     unsigned int

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.