From d5e5378ba8eba93c2417b94edc29f58b76549d51 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 23 Jan 2015 19:00:37 -0600 Subject: [PATCH] Remove deprecated version of parallel::distributed::Vector::scale(). --- doc/news/changes.h | 4 +++- include/deal.II/lac/parallel_vector.h | 19 ------------------- 2 files changed, 3 insertions(+), 20 deletions(-) diff --git a/doc/news/changes.h b/doc/news/changes.h index a3f8eddf08..91278646f6 100644 --- a/doc/news/changes.h +++ b/doc/news/changes.h @@ -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.
This release also removes the deprecated class MGDoFHandler. The functionality of this class had previously been incorporated into diff --git a/include/deal.II/lac/parallel_vector.h b/include/deal.II/lac/parallel_vector.h index dcdc523aa0..15885c4730 100644 --- a/include/deal.II/lac/parallel_vector.h +++ b/include/deal.II/lac/parallel_vector.h @@ -867,15 +867,6 @@ namespace parallel const Number c, const Vector &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 operator *= and operator /= - * 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 - inline - void - Vector::scale (const Number factor) - { - operator *=(factor); - } - - - template inline Vector & -- 2.39.5