Skip to content
Snippets Groups Projects
Commit 05399b87 authored by Oliver Sander's avatar Oliver Sander
Browse files

Merge branch 'feature/multitypeblockmatrix-size' into 'master'

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.

See merge request !58
parents 3aedadf4 39983768
Branches
Tags
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.
Please register or to comment