From 2cc14bfae6715885ef614fa4e586c152a76c8d1a Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Mon, 4 Jul 2016 16:27:28 +0100 Subject: [PATCH] clarify documentation for TrilinosWrappers::*Matrix::n_nonzero_elements --- include/deal.II/lac/trilinos_block_sparse_matrix.h | 3 ++- include/deal.II/lac/trilinos_sparse_matrix.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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; -- 2.39.5