]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove warning about hidden function 3168/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Fri, 30 Sep 2016 14:16:27 +0000 (16:16 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Fri, 30 Sep 2016 14:35:18 +0000 (16:35 +0200)
include/deal.II/grid/manifold_lib.h
source/grid/manifold_lib.cc

index f63734c176fc3d9c2b8fdd8eef032b7baf021713..cde73c68d76f6efaecebe4179e1bb1a74bce9895 100644 (file)
@@ -227,6 +227,15 @@ public:
   get_tangent_vector (const Point<spacedim> &x1,
                       const Point<spacedim> &x2) const;
 
+  /**
+   * Return a point on the spherical manifold which is intermediate
+   * with respect to the surrounding points.
+   *
+   * @deprecated Use the other function that takes points and weights separately instead.
+   */
+  virtual
+  Point<spacedim>
+  get_new_point(const dealii::Quadrature<spacedim> &quadrature) const DEAL_II_DEPRECATED;
 
   /**
    * Return a point on the spherical manifold which is intermediate
index a45001c39cb873c9dceb2b2bfd300df6c15d98f7..1feaf897054e5a85fd042f22d271aac0b42fe19b 100644 (file)
@@ -261,6 +261,14 @@ get_tangent_vector (const Point<spacedim> &p1,
   return (r1-r2)*e1 + r1*gamma*tg;
 }
 
+template <int dim, int spacedim>
+Point<spacedim>
+SphericalManifold<dim, spacedim>::
+get_new_point (const Quadrature<spacedim> &quad) const
+{
+  return get_new_point(quad.get_points(),quad.get_weights());
+}
+
 template <int dim, int spacedim>
 Point<spacedim>
 SphericalManifold<dim,spacedim>::

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.