From: Wolfgang Bangerth Date: Fri, 4 Mar 2016 17:59:51 +0000 (-0600) Subject: Address minor style issues. X-Git-Tag: v8.5.0-rc1~1240^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2303%2Fhead;p=dealii.git Address minor style issues. --- diff --git a/include/deal.II/grid/manifold.h b/include/deal.II/grid/manifold.h index a2189786f2..5e00cfd1d5 100644 --- a/include/deal.II/grid/manifold.h +++ b/include/deal.II/grid/manifold.h @@ -400,7 +400,7 @@ public: * @author Luca Heltai, 2014 */ template -class FlatManifold: public Manifold +class FlatManifold : public Manifold { public: /** @@ -430,7 +430,7 @@ public: * guaranteed to lie in the periodicity box plus or minus * tolerance*periodicity.norm(). */ - FlatManifold (const Point periodicity=Point(), + FlatManifold (const Point &periodicity = Point(), const double tolerance=1e-10); /** @@ -615,7 +615,7 @@ private: * @author Luca Heltai, 2013, 2014 */ template -class ChartManifold: public Manifold +class ChartManifold : public Manifold { public: /** @@ -632,7 +632,7 @@ 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 periodicity=Point()); + ChartManifold(const Point &periodicity = Point()); /** * Destructor. Does nothing here, but needs to be declared to make it diff --git a/source/grid/manifold.cc b/source/grid/manifold.cc index 68617e58b8..80f4aa9970 100644 --- a/source/grid/manifold.cc +++ b/source/grid/manifold.cc @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// 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. // @@ -228,8 +228,9 @@ Manifold::get_tangent_vector(const Point &x1, template -FlatManifold::FlatManifold (const Point periodicity, - const double tolerance) : +FlatManifold::FlatManifold (const Point &periodicity, + const double tolerance) + : periodicity(periodicity), tolerance(tolerance) {} @@ -326,7 +327,7 @@ ChartManifold::~ChartManifold () template -ChartManifold::ChartManifold (const Point periodicity) +ChartManifold::ChartManifold (const Point &periodicity) : sub_manifold(periodicity) {}