From: Timo Heister Date: Mon, 4 Jul 2016 15:27:28 +0000 (+0100) Subject: clarify documentation for TrilinosWrappers::*Matrix::n_nonzero_elements X-Git-Tag: v8.5.0-rc1~928^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2747%2Fhead;p=dealii.git clarify documentation for TrilinosWrappers::*Matrix::n_nonzero_elements --- diff --git a/include/deal.II/lac/trilinos_block_sparse_matrix.h b/include/deal.II/lac/trilinos_block_sparse_matrix.h index 174771aff8..f5aecbd21e 100644 --- a/include/deal.II/lac/trilinos_block_sparse_matrix.h +++ b/include/deal.II/lac/trilinos_block_sparse_matrix.h @@ -219,7 +219,8 @@ namespace TrilinosWrappers void collect_sizes (); /** - * Return the number of nonzero elements of this matrix. + * Return the total number of nonzero elements of this matrix (summed + * over all MPI processes). */ size_type n_nonzero_elements () const; diff --git a/include/deal.II/lac/trilinos_sparse_matrix.h b/include/deal.II/lac/trilinos_sparse_matrix.h index 8c6a324801..dc407bb0b6 100644 --- a/include/deal.II/lac/trilinos_sparse_matrix.h +++ b/include/deal.II/lac/trilinos_sparse_matrix.h @@ -1020,7 +1020,8 @@ namespace TrilinosWrappers bool in_local_range (const size_type index) const; /** - * Return the number of nonzero elements of this matrix. + * Return the total number of nonzero elements of this matrix (summed + * over all MPI processes). */ size_type n_nonzero_elements () const;