]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Move the two inline functions to the .cc file, because inlined template functions...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 12 Feb 1999 21:00:23 +0000 (21:00 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 12 Feb 1999 21:00:23 +0000 (21:00 +0000)
git-svn-id: https://svn.dealii.org/trunk@794 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/fe/fe.h
deal.II/deal.II/source/fe/fe.cc

index f1ade0acd49b33a883c9cc837a52a37899a52035..e4ae48e19810416d7c34853e1054d0bc2c61b993 100644 (file)
@@ -1164,25 +1164,8 @@ class FiniteElement : public FiniteElementBase<dim> {
     DeclException0 (ExcJacobiDeterminantHasWrongSign);
 };
 
-template <int dim>
-inline unsigned
-FiniteElementBase<dim>::component_to_system_index (unsigned component,
-                                                  unsigned component_index) const
-{
-  Assert(false, ExcInvalidIndex(component));
-  return component_index;
-}
 
 
-template <int dim>  
-inline pair<unsigned,unsigned>
-FiniteElementBase<dim>::system_to_component_index (unsigned index) const
-{
-  Assert(false, ExcInvalidIndex(index));
-  return pair<unsigned,unsigned>(0,0);
-}
-
-    
 
 /*----------------------------   fe.h     ---------------------------*/
 /* end of #ifndef __fe_H */
index 7a619ebde610e0e803b2ac706505d7a66f32287e..2f2597f18b8095358e9f35b79e47a1c3274a998f 100644 (file)
@@ -218,6 +218,26 @@ FiniteElement<dim>::FiniteElement (const FiniteElementData<dim> &fe_data) :
 
 
 
+template <int dim>
+unsigned
+FiniteElementBase<dim>::component_to_system_index (unsigned component,
+                                                  unsigned component_index) const
+{
+  Assert(false, ExcInvalidIndex(component));
+  return component_index;
+}
+
+
+template <int dim>  
+pair<unsigned,unsigned>
+FiniteElementBase<dim>::system_to_component_index (unsigned index) const
+{
+  Assert(false, ExcInvalidIndex(index));
+  return pair<unsigned,unsigned>(0,0);
+}
+
+
+
 #if deal_II_dimension == 1
 
 // declare this function to be explicitely specialized before first use

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.