From 1647aea7e7f3f5a9a8af51c798c15b2cd9a32f57 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 4 Mar 2016 11:59:51 -0600 Subject: [PATCH] Address minor style issues. --- include/deal.II/grid/manifold.h | 8 ++++---- source/grid/manifold.cc | 9 +++++---- 2 files changed, 9 insertions(+), 8 deletions(-) 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) {} -- 2.39.5