From: guido Date: Fri, 9 Jul 2004 14:22:45 +0000 (+0000) Subject: vmult for simple vector restored X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e76a8b45dfe964fee769893cf2f3ce705700af93;p=dealii-svn.git vmult for simple vector restored git-svn-id: https://svn.dealii.org/trunk@9494 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/block_matrix_base.h b/deal.II/lac/include/lac/block_matrix_base.h index 6346271572..b25abae0ac 100644 --- a/deal.II/lac/include/lac/block_matrix_base.h +++ b/deal.II/lac/include/lac/block_matrix_base.h @@ -18,6 +18,7 @@ #include #include #include +#include #include @@ -514,10 +515,9 @@ class BlockMatrixBase : public Subscriptor * applicable if the matrix has * only one block. */ - template - void vmult (VectorType &dst, - const VectorType &src) const; + template + void vmult (Vector &dst, + const Vector &src) const; /** * Matrix-vector multiplication: @@ -562,10 +562,9 @@ class BlockMatrixBase : public Subscriptor * applicable if the matrix has * only one block. */ - template - void Tvmult (VectorType &dst, - const VectorType &src) const; + template + void Tvmult (Vector &dst, + const Vector &src) const; /** * Adding Matrix-vector @@ -1351,11 +1350,10 @@ BlockMatrixBase::vmult (BlockVectorType &dst, template -template +template void -BlockMatrixBase::vmult (VectorType &dst, - const VectorType &src) const +BlockMatrixBase::vmult (Vector &dst, + const Vector &src) const { Assert (1 == n_block_rows(), ExcDimensionMismatch(1, n_block_rows())); @@ -1455,11 +1453,10 @@ BlockMatrixBase::Tvmult (VectorType &dst, template -template +template void -BlockMatrixBase::Tvmult (VectorType &dst, - const VectorType &src) const +BlockMatrixBase::Tvmult (Vector &dst, + const Vector &src) const { Assert (1 == n_block_cols(), ExcDimensionMismatch(1, n_block_cols()));