// 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));
}
+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,
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