dune-istl 2.8.0
Loading...
Searching...
No Matches
Classes | Namespaces | Functions

Some handy generic functions for ISTL matrices. More...

#include <set>
#include <vector>
#include <limits>
#include <dune/common/typetraits.hh>
#include <dune/common/fmatrix.hh>
#include <dune/common/dynmatrix.hh>
#include <dune/common/diagonalmatrix.hh>
#include <dune/common/scalarmatrixview.hh>
#include <dune/istl/scaledidmatrix.hh>
#include "istlexception.hh"

Go to the source code of this file.

Classes

struct  Dune::CheckIfDiagonalPresent< Matrix, blocklevel, l >
 Check whether the a matrix has diagonal values on blocklevel recursion levels. More...
 
struct  Dune::CheckIfDiagonalPresent< Matrix, 0, l >
 
struct  Dune::CheckIfDiagonalPresent< MultiTypeBlockMatrix< T1, Args... >, blocklevel, l >
 
struct  Dune::MatrixDimension< M >
 
struct  Dune::MatrixDimension< Matrix< B, TA > >
 
struct  Dune::MatrixDimension< BCRSMatrix< B, TA > >
 
struct  Dune::MatrixDimension< BCRSMatrix< FieldMatrix< B, n, m >, TA > >
 
struct  Dune::MatrixDimension< FieldMatrix< K, n, m > >
 
struct  Dune::MatrixDimension< Dune::DynamicMatrix< T > >
 
struct  Dune::MatrixDimension< Matrix< FieldMatrix< K, n, m >, TA > >
 
struct  Dune::MatrixDimension< DiagonalMatrix< K, n > >
 
struct  Dune::MatrixDimension< ScaledIdentityMatrix< K, n > >
 
struct  Dune::IsMatrix< T >
 Test whether a type is an ISTL Matrix. More...
 
struct  Dune::IsMatrix< DenseMatrix< T > >
 
struct  Dune::IsMatrix< BCRSMatrix< T, A > >
 
struct  Dune::PointerCompare< T >
 

Namespaces

namespace  Dune
 

Functions

template<class M >
auto Dune::countNonZeros (const M &, typename std::enable_if_t< Dune::IsNumber< M >::value > *sfinae=nullptr)
 Get the number of nonzero fields in the matrix.
 
template<class M >
auto Dune::countNonZeros (const M &matrix, typename std::enable_if_t<!Dune::IsNumber< M >::value > *sfinae=nullptr)
 
template<class M , class C >
void Dune::printGlobalSparseMatrix (const M &mat, C &ooc, std::ostream &os)
 

Detailed Description

Some handy generic functions for ISTL matrices.

Author
Markus Blatt