]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove deprecated version of parallel::distributed::Vector::scale().
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 24 Jan 2015 01:00:37 +0000 (19:00 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 24 Jan 2015 04:46:51 +0000 (22:46 -0600)
doc/news/changes.h
include/deal.II/lac/parallel_vector.h

index a3f8eddf08802731ae6bba2b057f36f6cd89d449..91278646f65396f07bce1e7b92934e3a27b02eda 100644 (file)
@@ -161,7 +161,9 @@ inconvenience this causes.
     take an explicit VectorMemory object.
   - The SolverSelector constructor that takes a VectorMemory argument.
   - The version of parallel::distributed::Vector::compress_finish
-    function that takes a boolean.
+    function that takes a boolean as argument.
+  - The version of parallel::distributed::Vector::scale
+    function that takes a scalar as argument.
   <br>
   This release also removes the deprecated class MGDoFHandler. The
   functionality of this class had previously been incorporated into
index dcdc523aa0255ef5dff8eeb34377fd38ea3d09e8..15885c47300df1434e20830522001b19a5be4e77 100644 (file)
@@ -867,15 +867,6 @@ namespace parallel
                  const Number          c,
                  const Vector<Number> &X);
 
-      /**
-       * Scale each element of the vector by the given factor.
-       *
-       * @deprecated This function is deprecated and will be removed in a
-       * future version. Use <tt>operator *=</tt> and <tt>operator /=</tt>
-       * instead.
-       */
-      void scale (const Number factor) DEAL_II_DEPRECATED;
-
       /**
        * Scale each element of the vector by a constant value.
        */
@@ -2167,16 +2158,6 @@ namespace parallel
 
 
 
-    template <typename Number>
-    inline
-    void
-    Vector<Number>::scale (const Number factor)
-    {
-      operator *=(factor);
-    }
-
-
-
     template <typename Number>
     inline
     Vector<Number> &

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.