const Quadrature<dim> &quadrature);
/**
- * Compute the mapping information for the incoming vector of cells and
- * corresponding vector of unit points.
+ * Compute the mapping information for the incoming iterable container of
+ * cell iterators and corresponding vector of unit points.
*
* It is possible to give an IteratorRange<FilteredIterator> to this
* function and together with @p n_unfiltered_cells specified this object
* with the "unfiltered" index. The default argument for
* @p n_unfiltered_cells disables this built-in compression.
*/
- template <typename Iterator>
+ template <typename ContainerType>
void
reinit_cells(
- const IteratorRange<Iterator> & cell_iterator_range,
+ const ContainerType & cell_iterator_range,
const std::vector<std::vector<Point<dim>>> &unit_points_vector,
const unsigned int n_unfiltered_cells = numbers::invalid_unsigned_int);
/**
- * Compute the mapping information for the incoming vector of cells and
- * corresponding vector of quadratures. As opposed to the other `reinit`
- * function, this method allows to access a `JxW` factor at the points.
+ * Compute the mapping information for the incoming iterable container of
+ * cell iterators and corresponding vector of quadratures. As opposed to the
+ * other `reinit` function, this method allows to access a `JxW` factor at
+ * the points.
*/
- template <typename Iterator>
+ template <typename ContainerType>
void
reinit_cells(
- const IteratorRange<Iterator> & cell_iterator_range,
+ const ContainerType & cell_iterator_range,
const std::vector<Quadrature<dim>> &quadrature_vector,
const unsigned int n_unfiltered_cells = numbers::invalid_unsigned_int);
template <int dim, int spacedim>
- template <typename Iterator>
+ template <typename ContainerType>
void
MappingInfo<dim, spacedim>::reinit_cells(
- const IteratorRange<Iterator> & cell_iterator_range,
+ const ContainerType & cell_iterator_range,
const std::vector<std::vector<Point<dim>>> &unit_points_vector,
const unsigned int n_unfiltered_cells)
{
template <int dim, int spacedim>
- template <typename Iterator>
+ template <typename ContainerType>
void
MappingInfo<dim, spacedim>::reinit_cells(
- const IteratorRange<Iterator> & cell_iterator_range,
+ const ContainerType & cell_iterator_range,
const std::vector<Quadrature<dim>> &quadrature_vector,
const unsigned int n_unfiltered_cells)
{