From: Wolfgang Bangerth Date: Sat, 24 Jan 2015 01:00:37 +0000 (-0600) Subject: Remove deprecated version of parallel::distributed::Vector::scale(). X-Git-Tag: v8.3.0-rc1~518^2~5 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5e5378ba8eba93c2417b94edc29f58b76549d51;p=dealii.git Remove deprecated version of parallel::distributed::Vector::scale(). --- 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 &