private:
/**
- * Transforms the point @p{p} on
+ * Transforms a point @p{p} on
* the unit cell to the point
* @p{p_real} on the real cell
* @p{cell} and returns @p{p_real}.
* mapping support points of the
* cell.
*
- * This additional
- * @p{InternalData} argument
+ * This @p{InternalData} argument
* avoids multiple computations
* of the shape values at point
* @p{p} and especially multiple
* computations of the mapping
* support points.
*/
- virtual Point<dim> transform_unit_to_real_cell_internal (
- const typename Triangulation<dim>::cell_iterator cell,
- const Point<dim> &p,
- const InternalData &m_data) const;
+ virtual Point<dim> transform_unit_to_real_cell_internal (const InternalData &m_data) const;
/**
* Returns an @p{InternalData}
compute_shapes(std::vector<Point<dim> > (1, p), *mdata);
- return transform_unit_to_real_cell_internal(cell, p, *mdata);
+ return transform_unit_to_real_cell_internal(*mdata);
}
-// TODO: remove obsolete arguments.
template <int dim>
Point<dim> MappingQ1<dim>::transform_unit_to_real_cell_internal (
- const typename Triangulation<dim>::cell_iterator cell,
- const Point<dim> &p,
const InternalData &data) const
{
const unsigned int n_mapping_points=data.mapping_support_points.size();
compute_shapes(std::vector<Point<dim> > (1, p_unit), *mdata);
// f(x)
- Point<dim> p_real(transform_unit_to_real_cell_internal(cell, p_unit, *mdata));
+ Point<dim> p_real(transform_unit_to_real_cell_internal(*mdata));
Point<dim> f = p_real-p;
const double eps=1e-15*cell->diameter();
compute_shapes(std::vector<Point<dim> > (1, p_unit), *mdata);
// f(x)
- p_real=transform_unit_to_real_cell_internal(cell, p_unit, *mdata);
+ p_real=transform_unit_to_real_cell_internal(*mdata);
f = p_real-p;
}