]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix undefined references with Intel compiler.
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 16 May 2013 07:10:22 +0000 (07:10 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 16 May 2013 07:10:22 +0000 (07:10 +0000)
git-svn-id: https://svn.dealii.org/trunk@29517 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/base/function.cc
deal.II/source/base/tensor_product_polynomials.cc
deal.II/source/fe/fe_q_base.cc

index 02b1e29fcac28914120da5c8cf54b48099115fcc..17187a03e4197aa87bf9a28e3a7c46cf1e9493f4 100644 (file)
@@ -602,8 +602,6 @@ VectorFunctionFromTensorFunction<dim>::VectorFunctionFromTensorFunction (const T
 
   // Verify that the Tensor<1,dim> will fit in the given length selected_components
   // and not hang over the end of the vector.
-  Assert (0 <= selected_component,
-          ExcIndexRange (selected_component,0,0));
   Assert (selected_component + dim - 1 < this->n_components,
           ExcIndexRange (selected_component, 0, this->n_components));
 }
index 23f92aa94dac32c7553f19ff0ba18c1ec7b8394d..3dc4cfbb336b4be37b684c02f1c4c02c54fc1b52 100644 (file)
@@ -118,6 +118,17 @@ TensorProductPolynomials<dim,POLY>::set_numbering(
 
 
 
+template <>
+double
+TensorProductPolynomials<0,Polynomials::Polynomial<double> >
+::compute_value(const unsigned int,
+                const Point<0> &) const
+{
+  Assert (false, ExcNotImplemented());
+}
+
+
+
 template <int dim, typename POLY>
 double
 TensorProductPolynomials<dim,POLY>::compute_value (const unsigned int i,
index 60c7fd251c3acb91ddced33ed93db4d69992de7e..b99c8b5d8a65fb1b681064b852d5a5cb605fb70f 100644 (file)
@@ -47,6 +47,15 @@ namespace FE_Q_Helper
       return face_renumber;
     }
 
+    // dummy specialization for dim == 1 to avoid linker errors
+    template <>
+    inline
+    std::vector<unsigned int>
+    face_lexicographic_to_hierarchic_numbering<1> (const unsigned int)
+    {
+      return std::vector<unsigned int>();
+    }
+
 
 
     // in initialize_embedding() and initialize_restriction(), want to undo

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.