From: brian Date: Mon, 2 Jun 2003 13:54:39 +0000 (+0000) Subject: implementation of print_formatted function. similar to one in BlockVector. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe43644bf786e159b454e645ce27a4cf0651839d;p=dealii-svn.git implementation of print_formatted function. similar to one in BlockVector. git-svn-id: https://svn.dealii.org/trunk@7719 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/block_sparse_matrix.templates.h b/deal.II/lac/include/lac/block_sparse_matrix.templates.h index 9673f891f0..c9adb4785b 100644 --- a/deal.II/lac/include/lac/block_sparse_matrix.templates.h +++ b/deal.II/lac/include/lac/block_sparse_matrix.templates.h @@ -176,6 +176,26 @@ BlockSparseMatrix::get_sparsity_pattern () const } +template +void +BlockSparseMatrix::print_formatted (std::ostream &out, + const unsigned int precision, + const bool scientific, + const unsigned int width, + const char *zero_string, + const double denominator) const +{ + for (unsigned int r=0;r unsigned int BlockSparseMatrix::memory_consumption () const