|
dune-istl 2.9.0
|
Loading...
Searching...
No Matches
matrixutils.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (C) DUNE Project contributors, see file LICENSE.md in module root
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:119
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:154
Base::size_type size_type
Base::size_type size_type
Definition matrixutils.hh:211
A::size_type size_type
The type for the index access and the size.
Definition bcrsmatrix.hh:500
row_type::ConstIterator ConstColIterator
Const iterator to the entries of a row.
Definition bcrsmatrix.hh:741
B block_type
export the type representing the components
Definition bcrsmatrix.hh:491
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:48
static void check(const Matrix &mat)
Check whether the a matrix has diagonal values on blocklevel recursion levels.
Definition matrixutils.hh:53
static void check(const Matrix &mat)
Definition matrixutils.hh:75
static void check(const Matrix &)
Check whether the a matrix has diagonal values on blocklevel recursion levels.
Definition matrixutils.hh:99
MultiTypeBlockMatrix< T1, Args... > Matrix
Definition matrixutils.hh:93
static size_type rowdim(const Matrix< B, TA > &A, size_type i)
Definition matrixutils.hh:232
static size_type coldim(const Matrix< B, TA > &A)
Definition matrixutils.hh:250
static size_type rowdim(const Matrix< B, TA > &A)
Definition matrixutils.hh:242
typename Matrix< B, TA >::size_type size_type
Definition matrixutils.hh:230
static size_type coldim(const Matrix< B, TA > &A, size_type c)
Definition matrixutils.hh:237
typename Matrix< B, TA >::block_type block_type
Definition matrixutils.hh:229
BCRSMatrix< B, TA > Matrix
Definition matrixutils.hh:263
static size_type coldim(const Matrix &A)
Definition matrixutils.hh:311
Matrix::block_type block_type
Definition matrixutils.hh:264
static size_type coldim(const Matrix &A, size_type c)
Definition matrixutils.hh:276
Matrix::size_type size_type
Definition matrixutils.hh:265
static size_type rowdim(const Matrix &A, size_type i)
Definition matrixutils.hh:267
static size_type rowdim(const Matrix &A)
Definition matrixutils.hh:304
static size_type coldim(const Matrix &A)
Definition matrixutils.hh:359
static size_type rowdim(const Matrix &, size_type)
Definition matrixutils.hh:345
static size_type rowdim(const Matrix &A)
Definition matrixutils.hh:355
Matrix::size_type size_type
Definition matrixutils.hh:343
BCRSMatrix< FieldMatrix< B, n, m >,TA > Matrix
Definition matrixutils.hh:342
static size_type coldim(const Matrix &, size_type)
Definition matrixutils.hh:350
static size_type rowdim(const Matrix &, size_type)
Definition matrixutils.hh:370
static size_type coldim(const Matrix &)
Definition matrixutils.hh:385
Matrix::size_type size_type
Definition matrixutils.hh:368
FieldMatrix< K, n, m > Matrix
Definition matrixutils.hh:367
static size_type coldim(const Matrix &, size_type)
Definition matrixutils.hh:375
static size_type rowdim(const Matrix &)
Definition matrixutils.hh:380
static size_type coldim(const MatrixType &A)
Definition matrixutils.hh:412
static size_type rowdim(const MatrixType &A)
Definition matrixutils.hh:407
static size_type rowdim(const MatrixType &, size_type)
Definition matrixutils.hh:397
MatrixType::size_type size_type
Definition matrixutils.hh:395
static size_type coldim(const MatrixType &, size_type)
Definition matrixutils.hh:402
Dune::DynamicMatrix< T > MatrixType
Definition matrixutils.hh:394
static size_type coldim(const ThisMatrix &A)
Definition matrixutils.hh:439
static size_type rowdim(const ThisMatrix &A)
Definition matrixutils.hh:434
Matrix< FieldMatrix< K, n, m >, TA > ThisMatrix
Definition matrixutils.hh:421
static size_type coldim(const ThisMatrix &, size_type)
Definition matrixutils.hh:429
static size_type rowdim(const ThisMatrix &, size_type)
Definition matrixutils.hh:424
ThisMatrix::size_type size_type
Definition matrixutils.hh:422
static size_type coldim(const Matrix &, size_type)
Definition matrixutils.hh:456
Matrix::size_type size_type
Definition matrixutils.hh:449
static size_type coldim(const Matrix &)
Definition matrixutils.hh:466
static size_type rowdim(const Matrix &)
Definition matrixutils.hh:461
DiagonalMatrix< K, n > Matrix
Definition matrixutils.hh:448
static size_type rowdim(const Matrix &, size_type)
Definition matrixutils.hh:451
static size_type coldim(const Matrix &)
Definition matrixutils.hh:493
static size_type rowdim(const Matrix &, size_type)
Definition matrixutils.hh:478
static size_type coldim(const Matrix &, size_type)
Definition matrixutils.hh:483
Matrix::size_type size_type
Definition matrixutils.hh:476
ScaledIdentityMatrix< K, n > Matrix
Definition matrixutils.hh:475
static size_type rowdim(const Matrix &)
Definition matrixutils.hh:488
Definition matrixutils.hh:538
bool operator()(const T *l, const T *r)
Definition matrixutils.hh:539
A multiple of the identity matrix of static size.
Definition scaledidmatrix.hh:30
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