Skip to content
Snippets Groups Projects
Commit f017b6e5 authored by Markus Blatt's avatar Markus Blatt
Browse files

Add method for querying the number of nonzeros. (Needed for superlu).

[[Imported from SVN: r789]]
parent 84497997
No related branches found
No related tags found
No related merge requests found
......@@ -1145,6 +1145,12 @@ namespace Dune {
return m;
}
//! number of nonzeros
size_type Nnz() const
{
return nnz;
}
/** \brief row dimension of block r
\bug Does not count empty rows (FlySpray #7)
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment