|
dune-istl 2.8.0
|
Loading...
Searching...
No Matches
matrixutils.hh
Go to the documentation of this file.
This file implements a quadratic matrix of fixed size which is a multiple of the identity.
auto countNonZeros(const M &, typename std::enable_if_t< Dune::IsNumber< M >::value > *sfinae=nullptr)
Get the number of nonzero fields in the matrix.
Definition matrixutils.hh:117
static constexpr size_type M()
const FieldVector< K, n > & diagonal() const
virtual void operator()()=0
#define DUNE_THROW(E, m)
const GlobalIndex & global() const
const IndexPair * pair(const std::size_t &local) const
void printGlobalSparseMatrix(const M &mat, C &ooc, std::ostream &os)
Definition matrixutils.hh:152
Base::size_type size_type
Base::size_type size_type
Definition matrixutils.hh:209
A::size_type size_type
The type for the index access and the size.
Definition bcrsmatrix.hh:498
row_type::ConstIterator ConstColIterator
Const iterator to the entries of a row.
Definition bcrsmatrix.hh:739
B block_type
export the type representing the components
Definition bcrsmatrix.hh:489
A Matrix class to support different block types.
Definition multitypeblockmatrix.hh:44
ConstIterator class for sequential access.
Definition matrix.hh:402
row_type::const_iterator ConstColIterator
Const iterator for the entries of each row.
Definition matrix.hh:587
T block_type
Export the type representing the components.
Definition matrix.hh:566
Check whether the a matrix has diagonal values on blocklevel recursion levels.
Definition matrixutils.hh:46
static void check(const Matrix &mat)
Check whether the a matrix has diagonal values on blocklevel recursion levels.
Definition matrixutils.hh:51
static void check(const Matrix &mat)
Definition matrixutils.hh:73
static void check(const Matrix &)
Check whether the a matrix has diagonal values on blocklevel recursion levels.
Definition matrixutils.hh:97
MultiTypeBlockMatrix< T1, Args... > Matrix
Definition matrixutils.hh:91
static size_type rowdim(const Matrix< B, TA > &A, size_type i)
Definition matrixutils.hh:230
static size_type coldim(const Matrix< B, TA > &A)
Definition matrixutils.hh:248
static size_type rowdim(const Matrix< B, TA > &A)
Definition matrixutils.hh:240
typename Matrix< B, TA >::size_type size_type
Definition matrixutils.hh:228
static size_type coldim(const Matrix< B, TA > &A, size_type c)
Definition matrixutils.hh:235
typename Matrix< B, TA >::block_type block_type
Definition matrixutils.hh:227
BCRSMatrix< B, TA > Matrix
Definition matrixutils.hh:261
static size_type coldim(const Matrix &A)
Definition matrixutils.hh:309
Matrix::block_type block_type
Definition matrixutils.hh:262
static size_type coldim(const Matrix &A, size_type c)
Definition matrixutils.hh:274
Matrix::size_type size_type
Definition matrixutils.hh:263
static size_type rowdim(const Matrix &A, size_type i)
Definition matrixutils.hh:265
static size_type rowdim(const Matrix &A)
Definition matrixutils.hh:302
static size_type coldim(const Matrix &A)
Definition matrixutils.hh:357
static size_type rowdim(const Matrix &, size_type)
Definition matrixutils.hh:343
static size_type rowdim(const Matrix &A)
Definition matrixutils.hh:353
Matrix::size_type size_type
Definition matrixutils.hh:341
BCRSMatrix< FieldMatrix< B, n, m >,TA > Matrix
Definition matrixutils.hh:340
static size_type coldim(const Matrix &, size_type)
Definition matrixutils.hh:348
static size_type rowdim(const Matrix &, size_type)
Definition matrixutils.hh:368
static size_type coldim(const Matrix &)
Definition matrixutils.hh:383
Matrix::size_type size_type
Definition matrixutils.hh:366
FieldMatrix< K, n, m > Matrix
Definition matrixutils.hh:365
static size_type coldim(const Matrix &, size_type)
Definition matrixutils.hh:373
static size_type rowdim(const Matrix &)
Definition matrixutils.hh:378
static size_type coldim(const MatrixType &A)
Definition matrixutils.hh:410
static size_type rowdim(const MatrixType &A)
Definition matrixutils.hh:405
static size_type rowdim(const MatrixType &, size_type)
Definition matrixutils.hh:395
MatrixType::size_type size_type
Definition matrixutils.hh:393
static size_type coldim(const MatrixType &, size_type)
Definition matrixutils.hh:400
Dune::DynamicMatrix< T > MatrixType
Definition matrixutils.hh:392
static size_type coldim(const ThisMatrix &A)
Definition matrixutils.hh:437
static size_type rowdim(const ThisMatrix &A)
Definition matrixutils.hh:432
Matrix< FieldMatrix< K, n, m >, TA > ThisMatrix
Definition matrixutils.hh:419
static size_type coldim(const ThisMatrix &, size_type)
Definition matrixutils.hh:427
static size_type rowdim(const ThisMatrix &, size_type)
Definition matrixutils.hh:422
ThisMatrix::size_type size_type
Definition matrixutils.hh:420
static size_type coldim(const Matrix &, size_type)
Definition matrixutils.hh:454
Matrix::size_type size_type
Definition matrixutils.hh:447
static size_type coldim(const Matrix &)
Definition matrixutils.hh:464
static size_type rowdim(const Matrix &)
Definition matrixutils.hh:459
DiagonalMatrix< K, n > Matrix
Definition matrixutils.hh:446
static size_type rowdim(const Matrix &, size_type)
Definition matrixutils.hh:449
static size_type coldim(const Matrix &)
Definition matrixutils.hh:491
static size_type rowdim(const Matrix &, size_type)
Definition matrixutils.hh:476
static size_type coldim(const Matrix &, size_type)
Definition matrixutils.hh:481
Matrix::size_type size_type
Definition matrixutils.hh:474
ScaledIdentityMatrix< K, n > Matrix
Definition matrixutils.hh:473
static size_type rowdim(const Matrix &)
Definition matrixutils.hh:486
Definition matrixutils.hh:536
bool operator()(const T *l, const T *r)
Definition matrixutils.hh:537
A multiple of the identity matrix of static size.
Definition scaledidmatrix.hh:28
T begin(T... args)
T end(T... args)
T endl(T... args)
T insert(T... args)
T make_pair(T... args)
T max(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8