template <int dim> void
-VectorTools::interpolate(const DoFHandler<dim> &high_dof,
- const DoFHandler<dim> &low_dof,
- const FullMatrix<double> &transfer,
- const Vector<double> &high,
- Vector<double> &low)
+VectorTools::interpolate (const DoFHandler<dim> &high_dof,
+ const DoFHandler<dim> &low_dof,
+ const FullMatrix<double> &transfer,
+ const Vector<double> &high,
+ Vector<double> &low)
{
Vector<double> cell_high(high_dof.get_fe().dofs_per_cell);
Vector<double> cell_low(low_dof.get_fe().dofs_per_cell);
const map<unsigned char,const Function<deal_II_dimension>*>&,
const Quadrature<deal_II_dimension-1>&,
map<int,double> &);
-template
-void VectorTools::interpolate_boundary_values (const DoFHandler<deal_II_dimension> &,
- const unsigned char,
- const Function<deal_II_dimension> &,
- map<int,double> &,
- const vector<bool> &);
+
template
void VectorTools::create_right_hand_side (const DoFHandler<deal_II_dimension> &,
const Quadrature<deal_II_dimension> &,
const Function<deal_II_dimension> &,
Vector<double> &);
template
-void VectorTools::project (const DoFHandler<deal_II_dimension> &,
- const ConstraintMatrix &,
- const Quadrature<deal_II_dimension> &,
- const Function<deal_II_dimension> &,
- Vector<double> &,
- const bool,
- const Quadrature<deal_II_dimension-1> &,
- const bool);
-template
void VectorTools::interpolate(const DoFHandler<deal_II_dimension> &,
const DoFHandler<deal_II_dimension> &,
const FullMatrix<double> &,
void VectorTools::interpolate (const DoFHandler<deal_II_dimension> &,
const Function<deal_II_dimension> &,
Vector<double> &);
+
+// the following two functions are not derived from a template in 1d
+// and thus need no explicit instantiation
+#if deal_II_dimension > 1
+template
+void VectorTools::interpolate_boundary_values (const DoFHandler<deal_II_dimension> &,
+ const unsigned char,
+ const Function<deal_II_dimension> &,
+ map<int,double> &,
+ const vector<bool> &);
+template
+void VectorTools::project (const DoFHandler<deal_II_dimension> &,
+ const ConstraintMatrix &,
+ const Quadrature<deal_II_dimension> &,
+ const Function<deal_II_dimension> &,
+ Vector<double> &,
+ const bool,
+ const Quadrature<deal_II_dimension-1> &,
+ const bool);
+#endif