]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove deprecated CutOffFunctioNbase member functions
authorDaniel Arndt <arndtd@ornl.gov>
Sun, 5 Jul 2020 22:09:07 +0000 (18:09 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Mon, 6 Jul 2020 03:17:15 +0000 (23:17 -0400)
include/deal.II/base/function_lib.h
source/base/function_lib_cutoff.cc

index 7c6cbbf4a7f4fc6352cc1f8708cd21d71e5f3976..82656a2d224821494aeedb1bd061508b88856aaf 100644 (file)
@@ -941,22 +941,6 @@ namespace Functions
      */
     virtual ~CutOffFunctionBase() = default;
 
-    /**
-     * Move the center of the ball to new point <tt>p</tt>.
-     *
-     * @deprecated Use set_center() instead.
-     */
-    DEAL_II_DEPRECATED void
-    new_center(const Point<dim> &p);
-
-    /**
-     * Set the radius of the ball to <tt>r</tt>.
-     *
-     * @deprecated Use set_radius() instead.
-     */
-    DEAL_II_DEPRECATED void
-    new_radius(const double r);
-
     /**
      * Set the center of the ball to the point @p p.
      */
index d410d53bc1ca727200e5cdeae055a009145a392f..c3fbdb8507d12a3645b061638a65e86ae6ba01bf 100644 (file)
@@ -48,14 +48,6 @@ namespace Functions
   }
 
 
-  template <int dim>
-  void
-  CutOffFunctionBase<dim>::new_center(const Point<dim> &p)
-  {
-    set_center(p);
-  }
-
-
 
   template <int dim>
   void
@@ -75,15 +67,6 @@ namespace Functions
 
 
 
-  template <int dim>
-  void
-  CutOffFunctionBase<dim>::new_radius(const double r)
-  {
-    set_radius(r);
-  }
-
-
-
   template <int dim>
   void
   CutOffFunctionBase<dim>::set_radius(const double r)

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.