From: Reza Rastak Date: Tue, 3 Sep 2019 15:08:04 +0000 (-0700) Subject: BlockVectorBase::equ with 4 arguments removed X-Git-Tag: v9.2.0-rc1~1149^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8688%2Fhead;p=dealii.git BlockVectorBase::equ with 4 arguments removed --- diff --git a/doc/news/changes/incompatibilities/20190903RezaRastak b/doc/news/changes/incompatibilities/20190903RezaRastak new file mode 100644 index 0000000000..c3ccc71bd7 --- /dev/null +++ b/doc/news/changes/incompatibilities/20190903RezaRastak @@ -0,0 +1,3 @@ +Removed: BlockVectorBase::equ(a, U, b, V) is removed. +
+(Reza Rastak, 2019/09/03) diff --git a/include/deal.II/lac/block_vector_base.h b/include/deal.II/lac/block_vector_base.h index f9283d43c7..2b21299ee2 100644 --- a/include/deal.II/lac/block_vector_base.h +++ b/include/deal.II/lac/block_vector_base.h @@ -935,15 +935,6 @@ public: void equ(const value_type a, const BlockVector2 &V); - /** - * U=a*V+b*W. Replacing by sum. - */ - void - equ(const value_type a, - const BlockVectorBase &V, - const value_type b, - const BlockVectorBase &W); - /** * Update the ghost values by calling update_ghost_values for * each block. @@ -1948,29 +1939,6 @@ BlockVectorBase::scale(const BlockVector2 &v) -template -void -BlockVectorBase::equ(const value_type a, - const BlockVectorBase &v, - const value_type b, - const BlockVectorBase &w) -{ - AssertIsFinite(a); - AssertIsFinite(b); - - Assert(n_blocks() == v.n_blocks(), - ExcDimensionMismatch(n_blocks(), v.n_blocks())); - Assert(n_blocks() == w.n_blocks(), - ExcDimensionMismatch(n_blocks(), w.n_blocks())); - - for (size_type i = 0; i < n_blocks(); ++i) - { - components[i].equ(a, v.components[i], b, w.components[i]); - } -} - - - template std::size_t BlockVectorBase::memory_consumption() const