|
dune-istl 2.12-git
|
Loading...
Searching...
No Matches
matrixutils.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file LICENSE.md in module root
554 };
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:129
static constexpr size_type M()
const FieldVector< K, n > & diagonal() const
virtual void operator()()=0
#define DUNE_THROW(E,...)
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:164
typename Base::size_type size_type
Base::size_type size_type
Definition matrixutils.hh:221
std::allocator_traits< A >::size_type size_type
The type for the index access and the size.
Definition bcrsmatrix.hh:496
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:493
A Matrix class to support different block types.
Definition multitypeblockmatrix.hh:46
ConstIterator class for sequential access.
Definition matrix.hh:404
row_type::const_iterator ConstColIterator
Const iterator for the entries of each row.
Definition matrix.hh:589
T block_type
Export the type representing the components.
Definition matrix.hh:568
Check whether the a matrix has diagonal values on blocklevel recursion levels.
Definition matrixutils.hh:58
static void check(const Matrix &mat)
Check whether the a matrix has diagonal values on blocklevel recursion levels.
Definition matrixutils.hh:63
static void check(const Matrix &mat)
Definition matrixutils.hh:85
static void check(const Matrix &)
Check whether the a matrix has diagonal values on blocklevel recursion levels.
Definition matrixutils.hh:109
MultiTypeBlockMatrix< T1, Args... > Matrix
Definition matrixutils.hh:103
static size_type rowdim(const Matrix< B, TA > &A, size_type i)
Definition matrixutils.hh:242
static size_type coldim(const Matrix< B, TA > &A)
Definition matrixutils.hh:260
static size_type rowdim(const Matrix< B, TA > &A)
Definition matrixutils.hh:252
typename Matrix< B, TA >::size_type size_type
Definition matrixutils.hh:240
static size_type coldim(const Matrix< B, TA > &A, size_type c)
Definition matrixutils.hh:247
typename Matrix< B, TA >::block_type block_type
Definition matrixutils.hh:239
BCRSMatrix< B, TA > Matrix
Definition matrixutils.hh:273
static size_type coldim(const Matrix &A)
Definition matrixutils.hh:321
Matrix::block_type block_type
Definition matrixutils.hh:274
static size_type coldim(const Matrix &A, size_type c)
Definition matrixutils.hh:286
Matrix::size_type size_type
Definition matrixutils.hh:275
static size_type rowdim(const Matrix &A, size_type i)
Definition matrixutils.hh:277
static size_type rowdim(const Matrix &A)
Definition matrixutils.hh:314
static size_type coldim(const Matrix &A)
Definition matrixutils.hh:369
static size_type rowdim(const Matrix &, size_type)
Definition matrixutils.hh:355
static size_type rowdim(const Matrix &A)
Definition matrixutils.hh:365
Matrix::size_type size_type
Definition matrixutils.hh:353
BCRSMatrix< FieldMatrix< B, n, m >,TA > Matrix
Definition matrixutils.hh:352
static size_type coldim(const Matrix &, size_type)
Definition matrixutils.hh:360
static size_type rowdim(const Matrix &, size_type)
Definition matrixutils.hh:380
static size_type coldim(const Matrix &)
Definition matrixutils.hh:395
Matrix::size_type size_type
Definition matrixutils.hh:378
FieldMatrix< K, n, m > Matrix
Definition matrixutils.hh:377
static size_type coldim(const Matrix &, size_type)
Definition matrixutils.hh:385
static size_type rowdim(const Matrix &)
Definition matrixutils.hh:390
static size_type coldim(const MatrixType &A)
Definition matrixutils.hh:422
static size_type rowdim(const MatrixType &A)
Definition matrixutils.hh:417
static size_type rowdim(const MatrixType &, size_type)
Definition matrixutils.hh:407
MatrixType::size_type size_type
Definition matrixutils.hh:405
static size_type coldim(const MatrixType &, size_type)
Definition matrixutils.hh:412
Dune::DynamicMatrix< T > MatrixType
Definition matrixutils.hh:404
static size_type coldim(const ThisMatrix &A)
Definition matrixutils.hh:449
static size_type rowdim(const ThisMatrix &A)
Definition matrixutils.hh:444
Matrix< FieldMatrix< K, n, m >, TA > ThisMatrix
Definition matrixutils.hh:431
static size_type coldim(const ThisMatrix &, size_type)
Definition matrixutils.hh:439
static size_type rowdim(const ThisMatrix &, size_type)
Definition matrixutils.hh:434
ThisMatrix::size_type size_type
Definition matrixutils.hh:432
static size_type coldim(const Matrix &, size_type)
Definition matrixutils.hh:466
Matrix::size_type size_type
Definition matrixutils.hh:459
static size_type coldim(const Matrix &)
Definition matrixutils.hh:476
static size_type rowdim(const Matrix &)
Definition matrixutils.hh:471
DiagonalMatrix< K, n > Matrix
Definition matrixutils.hh:458
static size_type rowdim(const Matrix &, size_type)
Definition matrixutils.hh:461
static size_type coldim(const Matrix &)
Definition matrixutils.hh:503
static size_type rowdim(const Matrix &, size_type)
Definition matrixutils.hh:488
static size_type coldim(const Matrix &, size_type)
Definition matrixutils.hh:493
Matrix::size_type size_type
Definition matrixutils.hh:486
ScaledIdentityMatrix< K, n > Matrix
Definition matrixutils.hh:485
static size_type rowdim(const Matrix &)
Definition matrixutils.hh:498
A multiple of the identity matrix of static size.
Definition scaledidmatrix.hh:42
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