Skip to content
Snippets Groups Projects
Commit 39983768 authored by Carsten Gräser's avatar Carsten Gräser
Browse files

Add (static) size() method to MultiTypeBlockMatrix

Since the istl view is, that a matrix is a container of rows,
it should have a size method.
parent 3aedadf4
No related branches found
No related tags found
1 merge request!58Add (static) size() method to MultiTypeBlockMatrix
Pipeline #
......@@ -57,6 +57,12 @@ namespace Dune {
return 1+sizeof...(Args);
}
/** \brief Return the number of matrix rows */
static constexpr std::size_t size()
{
return 1+sizeof...(Args);
}
/** \brief Return the number of matrix columns */
static constexpr std::size_t M()
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment