dune-istl 3.0-git
|
A Matrix class to support different block types. More...
#include <dune/istl/multitypeblockmatrix.hh>
Public Types | |
typedef MultiTypeBlockMatrix< FirstRow, Args... > | type |
typedef FirstRow::field_type | field_type |
Public Member Functions | |
template<std::size_t index> | |
auto | operator[] (const std::integral_constant< std::size_t, index > indexVariable) -> decltype(std::get< index >(*this)) |
Random-access operator. | |
template<std::size_t index> | |
auto | operator[] (const std::integral_constant< std::size_t, index > indexVariable) const -> decltype(std::get< index >(*this)) |
Const random-access operator. | |
template<typename T > | |
void | operator= (const T &newval) |
template<typename X , typename Y > | |
void | mv (const X &x, Y &y) const |
y = A x | |
template<typename X , typename Y > | |
void | umv (const X &x, Y &y) const |
y += A x | |
template<typename X , typename Y > | |
void | mmv (const X &x, Y &y) const |
y -= A x | |
template<typename AlphaType , typename X , typename Y > | |
void | usmv (const AlphaType &alpha, const X &x, Y &y) const |
y += alpha A x | |
Static Public Member Functions | |
static constexpr std::size_t | N () |
Return the number of matrix rows. | |
static constexpr std::size_t | M () |
Return the number of matrix columns. | |
A Matrix class to support different block types.
This matrix class combines MultiTypeBlockVector elements as rows.