From: David Wells Date: Tue, 8 Aug 2017 17:38:55 +0000 (-0400) Subject: Mark methods as 'override'. X-Git-Tag: v9.0.0-rc1~1099^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dc1ddab6b6dde0a3cdf7c4663740fbb6b8ca927;p=dealii.git Mark methods as 'override'. --- diff --git a/include/deal.II/grid/manifold.h b/include/deal.II/grid/manifold.h index aa41005992..8febab0547 100644 --- a/include/deal.II/grid/manifold.h +++ b/include/deal.II/grid/manifold.h @@ -740,7 +740,7 @@ public: void add_new_points (const ArrayView> &surrounding_points, const Table<2,double> &weights, - ArrayView> new_points) const; + ArrayView> new_points) const override; /** * Project to FlatManifold. This is the identity function for flat, @@ -752,7 +752,7 @@ public: virtual Point project_to_manifold (const ArrayView> &points, - const Point &candidate) const; + const Point &candidate) const override; /** * Return a vector that, at $\mathbf x_1$, is tangential to @@ -778,7 +778,7 @@ public: virtual Tensor<1,spacedim> get_tangent_vector (const Point &x1, - const Point &x2) const; + const Point &x2) const override; /** * Return the periodicity of this Manifold. @@ -966,7 +966,7 @@ public: void add_new_points (const ArrayView> &surrounding_points, const Table<2,double> &weights, - ArrayView> new_points) const; + ArrayView> new_points) const override; /** * Pull back the given point in spacedim to the Euclidean chartdim * dimensional space. @@ -1065,7 +1065,7 @@ public: virtual Tensor<1,spacedim> get_tangent_vector (const Point &x1, - const Point &x2) const; + const Point &x2) const override; /** * Return the periodicity associated with the submanifold. diff --git a/include/deal.II/grid/manifold_lib.h b/include/deal.II/grid/manifold_lib.h index 62c2200c54..23346d4147 100644 --- a/include/deal.II/grid/manifold_lib.h +++ b/include/deal.II/grid/manifold_lib.h @@ -218,7 +218,7 @@ public: Point get_intermediate_point(const Point &p1, const Point &p2, - const double w) const; + const double w) const override; /** * Compute the derivative of the get_intermediate_point() function @@ -227,7 +227,7 @@ public: virtual Tensor<1,spacedim> get_tangent_vector (const Point &x1, - const Point &x2) const; + const Point &x2) const override; /** * Return a point on the spherical manifold which is intermediate @@ -723,7 +723,7 @@ public: void add_new_points (const ArrayView> &surrounding_points, const Table<2,double> &weights, - ArrayView> new_points) const; + ArrayView> new_points) const override; private: /**