* @p{p_real} on the real cell
* @p{cell} and returns @p{p_real}.
*/
- virtual Point<dim> transform_unit_to_real_cell (
- const typename Triangulation<dim>::cell_iterator cell,
- const Point<dim> &p) const=0;
+ virtual Point<dim>
+ transform_unit_to_real_cell (
+ const typename Triangulation<dim>::cell_iterator &cell,
+ const Point<dim> &p) const = 0;
/**
* Transforms the point @p{p} on
* @p{p_unit} on the unit cell
* @p{cell} and returns @p{p_unit}.
*/
- virtual Point<dim> transform_real_to_unit_cell (
- const typename Triangulation<dim>::cell_iterator cell,
- const Point<dim> &p) const=0;
+ virtual Point<dim>
+ transform_real_to_unit_cell (
+ const typename Triangulation<dim>::cell_iterator &cell,
+ const Point<dim> &p) const = 0;
/**
* Base class for internal data
* @p{p_real} on the real cell
* @p{cell} and returns @p{p_real}.
*/
- virtual Point<dim> transform_unit_to_real_cell (
- const typename Triangulation<dim>::cell_iterator cell,
- const Point<dim> &p) const;
+ virtual Point<dim>
+ transform_unit_to_real_cell (
+ const typename Triangulation<dim>::cell_iterator &cell,
+ const Point<dim> &p) const;
/**
* Transforms the point @p{p} on
* @p{transform_unit_to_real_cell}
* function.
*/
- virtual Point<dim> transform_real_to_unit_cell (
- const typename Triangulation<dim>::cell_iterator cell,
- const Point<dim> &p) const;
+ virtual Point<dim>
+ transform_real_to_unit_cell (
+ const typename Triangulation<dim>::cell_iterator &cell,
+ const Point<dim> &p) const;
/**
* Implementation of the interface in
* @p{p_real} on the real cell
* @p{cell} and returns @p{p_real}.
*/
- virtual Point<dim> transform_unit_to_real_cell (
- const typename Triangulation<dim>::cell_iterator cell,
- const Point<dim> &p) const;
+ virtual Point<dim>
+ transform_unit_to_real_cell (
+ const typename Triangulation<dim>::cell_iterator &cell,
+ const Point<dim> &p) const;
/**
* Transforms the point @p{p} on
* @p{transform_unit_to_real_cell}
* function.
*/
- virtual Point<dim> transform_real_to_unit_cell (
- const typename Triangulation<dim>::cell_iterator cell,
- const Point<dim> &p) const;
+ virtual Point<dim>
+ transform_real_to_unit_cell (
+ const typename Triangulation<dim>::cell_iterator &cell,
+ const Point<dim> &p) const;
/**
* Implementation of the
* @p{p_real} on the real cell
* @p{cell} and returns @p{p_real}.
*/
- virtual Point<dim> transform_unit_to_real_cell (
- const typename Triangulation<dim>::cell_iterator cell,
- const Point<dim> &p) const;
+ virtual Point<dim>
+ transform_unit_to_real_cell (
+ const typename Triangulation<dim>::cell_iterator &cell,
+ const Point<dim> &p) const;
/**
* Transforms the point @p{p} on
* @p{transform_unit_to_real_cell}
* function.
*/
- virtual Point<dim> transform_real_to_unit_cell (
- const typename Triangulation<dim>::cell_iterator cell,
- const Point<dim> &p) const;
+ virtual Point<dim>
+ transform_real_to_unit_cell (
+ const typename Triangulation<dim>::cell_iterator &cell,
+ const Point<dim> &p) const;
/**
* Implementation of the interface in
* @p{mdata} will be changed by
* this function.
*/
- void transform_real_to_unit_cell_internal (const typename Triangulation<dim>::cell_iterator cell,
+ void transform_real_to_unit_cell_internal (const typename Triangulation<dim>::cell_iterator &cell,
const Point<dim> &p,
InternalData &mdata,
Point<dim> &p_unit) const;
template <int dim>
-Point<dim> MappingCartesian<dim>::transform_unit_to_real_cell (
- const typename Triangulation<dim>::cell_iterator cell,
- const Point<dim> &p) const
+Point<dim>
+MappingCartesian<dim>::transform_unit_to_real_cell (
+ const typename Triangulation<dim>::cell_iterator &cell,
+ const Point<dim> &p) const
{
Tensor<1,dim> length;
const Point<dim> start = cell->vertex(0);
template <int dim>
-Point<dim> MappingCartesian<dim>::transform_real_to_unit_cell (
- const typename Triangulation<dim>::cell_iterator cell,
- const Point<dim> &p) const
+Point<dim>
+MappingCartesian<dim>::transform_real_to_unit_cell (
+ const typename Triangulation<dim>::cell_iterator &cell,
+ const Point<dim> &p) const
{
const Point<dim> &start = cell->vertex(0);
Point<dim> real = p;
template <int dim>
-Point<dim> MappingQ<dim>::transform_unit_to_real_cell (
- const typename Triangulation<dim>::cell_iterator cell,
- const Point<dim> &p) const
+Point<dim>
+MappingQ<dim>::transform_unit_to_real_cell (
+ const typename Triangulation<dim>::cell_iterator &cell,
+ const Point<dim> &p) const
{
// Use the get_data function to
// create an InternalData with data
template <int dim>
-Point<dim> MappingQ<dim>::transform_real_to_unit_cell (
- const typename Triangulation<dim>::cell_iterator cell,
- const Point<dim> &p) const
+Point<dim>
+MappingQ<dim>::transform_real_to_unit_cell (
+ const typename Triangulation<dim>::cell_iterator &cell,
+ const Point<dim> &p) const
{
// first a Newton iteration based
// on a Q1 mapping
template <int dim>
-Point<dim> MappingQ1<dim>::transform_unit_to_real_cell (
- const typename Triangulation<dim>::cell_iterator cell,
- const Point<dim> &p) const
+Point<dim>
+MappingQ1<dim>::transform_unit_to_real_cell (
+ const typename Triangulation<dim>::cell_iterator &cell,
+ const Point<dim> &p) const
{
// Use the get_data function to
// create an InternalData with data
template <int dim>
-Point<dim> MappingQ1<dim>::transform_unit_to_real_cell_internal (
+Point<dim>
+MappingQ1<dim>::transform_unit_to_real_cell_internal (
const InternalData &data) const
{
const unsigned int n_mapping_points=data.mapping_support_points.size();
template <int dim>
-Point<dim> MappingQ1<dim>::transform_real_to_unit_cell (
- const typename Triangulation<dim>::cell_iterator cell,
- const Point<dim> &p) const
+Point<dim>
+MappingQ1<dim>::transform_real_to_unit_cell (
+ const typename Triangulation<dim>::cell_iterator &cell,
+ const Point<dim> &p) const
{
// Let the start value of the
// newton iteration be the center
template <int dim>
-void MappingQ1<dim>::transform_real_to_unit_cell_internal (
- const typename Triangulation<dim>::cell_iterator cell,
- const Point<dim> &p,
- InternalData &mdata,
- Point<dim> &p_unit) const
+void
+MappingQ1<dim>::transform_real_to_unit_cell_internal (
+ const typename Triangulation<dim>::cell_iterator &cell,
+ const Point<dim> &p,
+ InternalData &mdata,
+ Point<dim> &p_unit) const
{
const unsigned int n_shapes=mdata.shape_values.size();
Assert(n_shapes!=0, ExcInternalError());
template <int dim>
-MappingQ1Eulerian<dim>::MappingQ1Eulerian ( const Vector<double> &euler_transform_vectors,
- const DoFHandler<dim> &shiftmap_dof_handler)
+MappingQ1Eulerian<dim>::MappingQ1Eulerian (const Vector<double> &euler_transform_vectors,
+ const DoFHandler<dim> &shiftmap_dof_handler)
:
euler_transform_vectors(euler_transform_vectors),
shiftmap_dof_handler(&shiftmap_dof_handler)