Skip to content
Snippets Groups Projects
Commit 42cf1eac authored by Sven Marnach's avatar Sven Marnach
Browse files

Added method nonzeroes() to BCRSMatrix

[[Imported from SVN: r857]]
parent c396aeb9
No related branches found
No related tags found
No related merge requests found
......@@ -1155,6 +1155,12 @@ namespace Dune {
return m;
}
//! number of blocks that are stored (the number of blocks that possibly are nonzero)
size_type nonzeroes () 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