From: Wolfgang Bangerth Date: Sat, 24 Jan 2015 01:50:18 +0000 (-0600) Subject: Remove deprecated function parallel::distributed::BlockVector::scale(). X-Git-Tag: v8.3.0-rc1~518^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5b7541c8ea533b80fa26773dc4b33fb549be4e5;p=dealii.git Remove deprecated function parallel::distributed::BlockVector::scale(). --- diff --git a/doc/news/changes.h b/doc/news/changes.h index adf83f1445..6ecc46bec0 100644 --- a/doc/news/changes.h +++ b/doc/news/changes.h @@ -162,7 +162,8 @@ inconvenience this causes. - The SolverSelector constructor that takes a VectorMemory argument. - The version of parallel::distributed::Vector::compress_finish function that takes a boolean as argument. - - The version of parallel::distributed::Vector::scale + - The version of parallel::distributed::Vector::scale and + parallel::distributed::BlockVector::scale function that takes a scalar as argument. - GridTools::create_union_triangulation. - GridTools::extract_boundary_mesh. diff --git a/include/deal.II/lac/parallel_block_vector.h b/include/deal.II/lac/parallel_block_vector.h index 58b555540c..87eb823ebd 100644 --- a/include/deal.II/lac/parallel_block_vector.h +++ b/include/deal.II/lac/parallel_block_vector.h @@ -400,16 +400,6 @@ namespace parallel const BlockVector &V, const BlockVector &W); - /** - * Scale each element of the vector by the given factor. - * - * This function is deprecated and will be removed in a future version. - * Use operator *= and operator /= instead. - * - * @deprecated Use operator*= instead. - */ - void scale (const value_type factor) DEAL_II_DEPRECATED; - /** * Multiply each element of this vector by the corresponding element of * v. @@ -986,18 +976,6 @@ namespace parallel - template - void BlockVector::scale (const value_type factor) - { - - Assert (numbers::is_finite(factor), ExcNumberNotFinite()); - - for (size_type i=0; in_blocks(); ++i) - this->components[i].scale(factor); - } - - - template template void BlockVector::scale (const BlockVector2 &v)