*/
virtual void
add_line_support_points(
- const typename Triangulation<dim>::cell_iterator &cell,
- std::vector<Point<dim>> &a) const override;
+ const typename Triangulation<dim, spacedim>::cell_iterator &cell,
+ std::vector<Point<spacedim>> &a) const override;
/**
* For <tt>dim=3</tt>. Append the support points of all shape functions
*/
virtual void
add_quad_support_points(
- const typename Triangulation<dim>::cell_iterator &cell,
- std::vector<Point<dim>> &a) const override;
+ const typename Triangulation<dim, spacedim>::cell_iterator &cell,
+ std::vector<Point<spacedim>> &a) const override;
};
/** @} */
: MappingQ<dim, spacedim>(3)
{
Assert(dim > 1, ExcImpossibleInDim(dim));
+ Assert(dim == spacedim, ExcNotImplemented());
}
template <int dim, int spacedim>
void
MappingC1<dim, spacedim>::add_line_support_points(
- const typename Triangulation<dim>::cell_iterator &,
- std::vector<Point<dim>> &) const
+ const typename Triangulation<dim, spacedim>::cell_iterator &,
+ std::vector<Point<spacedim>> &) const
{
DEAL_II_NOT_IMPLEMENTED();
}
template <int dim, int spacedim>
void
MappingC1<dim, spacedim>::add_quad_support_points(
- const typename Triangulation<dim>::cell_iterator &,
- std::vector<Point<dim>> &) const
+ const typename Triangulation<dim, spacedim>::cell_iterator &,
+ std::vector<Point<spacedim>> &) const
{
DEAL_II_NOT_IMPLEMENTED();
}
-for (deal_II_dimension : DIMENSIONS)
+for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
{
- template class MappingC1<deal_II_dimension>;
+#if deal_II_dimension <= deal_II_space_dimension
+ template class MappingC1<deal_II_dimension, deal_II_space_dimension>;
+#endif
}