]> https://gitweb.dealii.org/ - dealii.git/commitdiff
BlockVectorBase::equ with 4 arguments removed 8688/head
authorReza Rastak <rastak@stanford.edu>
Tue, 3 Sep 2019 15:08:04 +0000 (08:08 -0700)
committerReza Rastak <rastak@stanford.edu>
Tue, 3 Sep 2019 15:08:04 +0000 (08:08 -0700)
doc/news/changes/incompatibilities/20190903RezaRastak [new file with mode: 0644]
include/deal.II/lac/block_vector_base.h

diff --git a/doc/news/changes/incompatibilities/20190903RezaRastak b/doc/news/changes/incompatibilities/20190903RezaRastak
new file mode 100644 (file)
index 0000000..c3ccc71
--- /dev/null
@@ -0,0 +1,3 @@
+Removed: BlockVectorBase::equ(a, U, b, V) is removed.
+<br>
+(Reza Rastak, 2019/09/03)
index f9283d43c7fdc0a32ef9cc159622d2fefc28acd6..2b21299ee2d03c1bb87fc09abb8de1c0522f7d27 100644 (file)
@@ -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 <code>update_ghost_values</code> for
    * each block.
@@ -1948,29 +1939,6 @@ BlockVectorBase<VectorType>::scale(const BlockVector2 &v)
 
 
 
-template <class VectorType>
-void
-BlockVectorBase<VectorType>::equ(const value_type                   a,
-                                 const BlockVectorBase<VectorType> &v,
-                                 const value_type                   b,
-                                 const BlockVectorBase<VectorType> &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 <class VectorType>
 std::size_t
 BlockVectorBase<VectorType>::memory_consumption() const

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.