From: Wolfgang Bangerth Date: Mon, 29 May 2000 13:09:34 +0000 (+0000) Subject: Doc update. X-Git-Tag: v8.0.0~20438 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4abadce91159f0aa0ad3fae93b352f835976861;p=dealii.git Doc update. git-svn-id: https://svn.dealii.org/trunk@2970 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/block_sparse_matrix.h b/deal.II/lac/include/lac/block_sparse_matrix.h index 58bd47d816..1277069d67 100644 --- a/deal.II/lac/include/lac/block_sparse_matrix.h +++ b/deal.II/lac/include/lac/block_sparse_matrix.h @@ -118,6 +118,12 @@ class BlockSparseMatrix : public Subscriptor * want to update the size of the * matrix. It only calls #reinit# * on the sub-matrices. + * + * If the sparsity pattern has + * not changed, then the effect + * of this function is simply to + * reset all matrix entries to + * zero. */ virtual void reinit (); @@ -134,6 +140,9 @@ class BlockSparseMatrix : public Subscriptor * sub-matrices with the block * sparsity patterns of the * parameter. + * + * The elements of the matrix are + * set to zero by this function. */ virtual void reinit (const BlockSparsityPattern &sparsity); diff --git a/deal.II/lac/include/lac/sparse_matrix.h b/deal.II/lac/include/lac/sparse_matrix.h index 9e55810b52..88faaad694 100644 --- a/deal.II/lac/include/lac/sparse_matrix.h +++ b/deal.II/lac/include/lac/sparse_matrix.h @@ -128,6 +128,12 @@ class SparseMatrix : public Subscriptor * empty (i.e. the dimensions are * zero), then all memory is * freed. + * + * If the sparsity pattern has + * not changed, then the effect + * of this function is simply to + * reset all matrix entries to + * zero. */ virtual void reinit (); @@ -149,6 +155,9 @@ class SparseMatrix : public Subscriptor * as that of this matrix or as * long as #reinit# is not called * with a new sparsity structure. + * + * The elements of the matrix are + * set to zero by this function. */ virtual void reinit (const SparsityPattern &sparsity);