10#include <kernel/lafem/sparse_matrix_csr.hpp> 
   11#include <kernel/lafem/sparse_matrix_bcsr.hpp> 
   38    template<
typename DT_, 
typename IT_, 
int BlockSize_>
 
   63      using BaseClass::BaseClass;
 
   66      template <
typename DT2_ = DT_, 
typename IT2_ = IT_>
 
   70      template <
typename DataType2_, 
typename IndexType2_>
 
  114      template <
typename DT2_, 
typename IT2_>
 
CSR based blocked sparse matrix.
Intern::BCSRVectorHelper< DT_, IT_, BlockHeight_ >::VectorType VectorTypeL
Compatible L-vector type.
Intern::BCSRVectorHelper< DT_, IT_, BlockWidth_ >::VectorType VectorTypeR
Compatible R-vector type.
Wraps a SparseMatrixCSR to SparseMatrixBCSR.
LAFEM::SparseMatrixCSR< DT_, IT_ > & unwrap()
IT_ IndexType
The index type.
LAFEM::SparseMatrixCSR< DT_, IT_ > BaseClass
The real type of the underlying matrix.
SparseMatrixBWrappedCSR clone(CloneMode mode=CloneMode::Weak) const
Clone operation.
LAFEM::SparseMatrixBCSR< DT_, IT_, BlockSize_, BlockSize_ > PretendType
What this matrix pretends to be.
SparseMatrixBWrappedCSR(BaseClass &&other)
From-baseclass move constructor.
SparseMatrixBWrappedCSR()
Empty standard constructor.
VectorTypeL create_vector_l() const
Returns a new compatible vector for left-multiplication.
DT_ DataType
The floating point datatype.
VectorTypeR create_vector_r() const
Returns a new compatible vector for right-multiplication.
const LAFEM::SparseMatrixCSR< DT_, IT_ > & unwrap() const
static constexpr int BlockWidth
The block width the SparseMatrixBWrappedCSR pretends to have.
PretendType::VectorTypeL VectorTypeL
Vector type accepted for multiplication form the left.
static constexpr int BlockHeight
The block height the SparseMatrixBWrappedCSR pretends to have.
PretendType::VectorTypeR VectorTypeR
Vector type accepted for multiplication form the right.
void convert(const SparseMatrixCSR< DT2_, IT2_ > &other)
Conversion method.
Index rows() const
Retrieve matrix row count.
SparseMatrixCSR clone(CloneMode clone_mode=CloneMode::Weak) const
Clone operation.
Index columns() const
Retrieve matrix column count.