* @author Luca Heltai, 2014
*/
template <int dim, int spacedim=dim>
-class FlatManifold: public Manifold<dim, spacedim>
+class FlatManifold : public Manifold<dim, spacedim>
{
public:
/**
* guaranteed to lie in the periodicity box plus or minus
* tolerance*periodicity.norm().
*/
- FlatManifold (const Point<spacedim> periodicity=Point<spacedim>(),
+ FlatManifold (const Point<spacedim> &periodicity = Point<spacedim>(),
const double tolerance=1e-10);
/**
* @author Luca Heltai, 2013, 2014
*/
template <int dim, int spacedim=dim, int chartdim=dim>
-class ChartManifold: public Manifold<dim,spacedim>
+class ChartManifold : public Manifold<dim,spacedim>
{
public:
/**
* of (2*pi-eps) and (eps) is not pi, but 2*pi (or zero), since, on the
* manifold, these two points are at distance 2*eps and not (2*pi-eps)
*/
- ChartManifold(const Point<chartdim> periodicity=Point<chartdim>());
+ ChartManifold(const Point<chartdim> &periodicity = Point<chartdim>());
/**
* Destructor. Does nothing here, but needs to be declared to make it
// ---------------------------------------------------------------------
//
-// Copyright (C) 1998 - 2015 by the deal.II authors
+// Copyright (C) 1998 - 2016 by the deal.II authors
//
// This file is part of the deal.II library.
//
template <int dim, int spacedim>
-FlatManifold<dim,spacedim>::FlatManifold (const Point<spacedim> periodicity,
- const double tolerance) :
+FlatManifold<dim,spacedim>::FlatManifold (const Point<spacedim> &periodicity,
+ const double tolerance)
+ :
periodicity(periodicity),
tolerance(tolerance)
{}
template <int dim, int spacedim, int chartdim>
-ChartManifold<dim,spacedim,chartdim>::ChartManifold (const Point<chartdim> periodicity)
+ChartManifold<dim,spacedim,chartdim>::ChartManifold (const Point<chartdim> &periodicity)
:
sub_manifold(periodicity)
{}