dune-istl  2.3.0
Modules | Files | Classes | Typedefs | Enumerations | Enumerator | Functions | Friends
Iterative Solvers Template Library (ISTL)

Iterative Solvers supporting block recursive matrix and vector classes at compile time. More...

Modules

 Sparse Matrix and Vector classes
 Matrix and Vector classes that support a block recursive structure capable of representing the natural structure from Finite Element discretisations.
 
 Iterative Solvers
 

Files

file  superlu.hh
 Classes for using SuperLU with ISTL matrices.
 
file  umfpack.hh
 Classes for using UMFPack with ISTL matrices.
 

Classes

class  Dune::ILUSubdomainSolver< M, X, Y >
 base class encapsulating common algorithms of ILU0SubdomainSolver and ILUNSubdomainSolver. More...
 
class  Dune::ILU0SubdomainSolver< M, X, Y >
 Exact subdomain solver using ILU(p) with appropriate p. More...
 
class  Dune::ILUNSubdomainSolver< M, X, Y >
 
class  Dune::ISTLError
 derive error class from the base class in common More...
 
class  Dune::BCRSMatrixError
 Error specific to BCRSMatrix. More...
 
class  Dune::ImplicitModeOverflowExhausted
 The overflow error used during implicit BCRSMatrix construction was exhausted. More...
 
class  Dune::SuperLU< Matrix >
 
class  Dune::SeqOverlappingSchwarz< M, X, TM, TD, T1 >
 Sequential overlapping Schwarz preconditioner. More...
 
struct  Dune::SeqOverlappingSchwarzAssemblerHelper< T, tag >
 
struct  Dune::SuperLUSolveChooser< T >
 
struct  Dune::SuperLUDenseMatChooser< T >
 
struct  Dune::SuperLUQueryChooser< T >
 
struct  Dune::QuerySpaceChooser< T >
 
struct  Dune::SuperLUDenseMatChooser< double >
 
struct  Dune::SuperLUSolveChooser< double >
 
struct  Dune::QuerySpaceChooser< double >
 
class  Dune::SuperLU< BCRSMatrix< FieldMatrix< T, n, m >, A > >
 SuperLu Solver. More...
 
class  Dune::UMFPack< Matrix >
 Use the UMFPack package to directly solve linear systems – empty default class. More...
 
struct  Dune::UMFPackMethodChooser< T >
 
struct  Dune::UMFPackMethodChooser< double >
 
struct  Dune::UMFPackMethodChooser< std::complex< double > >
 
class  Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >
 The UMFPack direct sparse solver for matrices of type BCRSMatrix. More...
 
struct  Dune::IsDirectSolver< UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > > >
 
struct  Dune::StoresColumnCompressed< UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > > >
 

Typedefs

typedef Dune::BCRSMatrix
< FieldMatrix< T, n, m >, A
Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::Matrix
 The matrix type. More...
 
typedef Dune::BCRSMatrix
< FieldMatrix< T, n, m >, A
Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::matrix_type
 
typedef Dune::ColCompMatrix
< Matrix > 
Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::UMFPackMatrix
 The corresponding SuperLU Matrix type. More...
 
typedef
ColCompMatrixInitializer
< BCRSMatrix< FieldMatrix< T,
n, m >, A > > 
Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::MatrixInitializer
 Type of an associated initializer class. More...
 
typedef Dune::BlockVector
< FieldVector< T, m >
, typename A::template rebind
< FieldVector< T, m > >::other > 
Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::domain_type
 The type of the domain of the solver. More...
 
typedef Dune::BlockVector
< FieldVector< T, n >
, typename A::template rebind
< FieldVector< T, n > >::other > 
Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::range_type
 The type of the range of the solver. More...
 

Enumerations

enum  { Dune::IsDirectSolver< UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > > >::value =true }
 
enum  { Dune::StoresColumnCompressed< UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > > >::value = true }
 

Functions

template<typename... A>
static void Dune::UMFPackMethodChooser< double >::defaults (A...args)
 
template<typename... A>
static void Dune::UMFPackMethodChooser< double >::free_numeric (A...args)
 
template<typename... A>
static void Dune::UMFPackMethodChooser< double >::free_symbolic (A...args)
 
template<typename... A>
static int Dune::UMFPackMethodChooser< double >::load_numeric (A...args)
 
template<typename... A>
static void Dune::UMFPackMethodChooser< double >::numeric (A...args)
 
template<typename... A>
static void Dune::UMFPackMethodChooser< double >::report_info (A...args)
 
template<typename... A>
static void Dune::UMFPackMethodChooser< double >::report_status (A...args)
 
template<typename... A>
static int Dune::UMFPackMethodChooser< double >::save_numeric (A...args)
 
template<typename... A>
static void Dune::UMFPackMethodChooser< double >::solve (A...args)
 
template<typename... A>
static void Dune::UMFPackMethodChooser< double >::symbolic (A...args)
 
template<typename... A>
static void Dune::UMFPackMethodChooser< std::complex< double > >::defaults (A...args)
 
template<typename... A>
static void Dune::UMFPackMethodChooser< std::complex< double > >::free_numeric (A...args)
 
template<typename... A>
static void Dune::UMFPackMethodChooser< std::complex< double > >::free_symbolic (A...args)
 
template<typename... A>
static int Dune::UMFPackMethodChooser< std::complex< double > >::load_numeric (A...args)
 
template<typename... A>
static void Dune::UMFPackMethodChooser< std::complex< double > >::numeric (const int *cs, const int *ri, const double *val, A...args)
 
template<typename... A>
static void Dune::UMFPackMethodChooser< std::complex< double > >::report_info (A...args)
 
template<typename... A>
static void Dune::UMFPackMethodChooser< std::complex< double > >::report_status (A...args)
 
template<typename... A>
static int Dune::UMFPackMethodChooser< std::complex< double > >::save_numeric (A...args)
 
template<typename... A>
static void Dune::UMFPackMethodChooser< std::complex< double > >::solve (int m, const int *cs, const int *ri, std::complex< double > *val, double *x, const double *b, A...args)
 
template<typename... A>
static void Dune::UMFPackMethodChooser< std::complex< double > >::symbolic (int m, int n, const int *cs, const int *ri, const double *val, A...args)
 
 Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::UMFPack (const Matrix &mat_, int verbose=0)
 construct a solver object from a BCRSMatrix More...
 
 Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::UMFPack (const Matrix &mat_, int verbose, bool)
 Constructor for compatibility with SuperLU standard constructor. More...
 
 Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::UMFPack ()
 default constructor More...
 
 Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::UMFPack (const Matrix &mat_, const char *file, int verbose=0)
 Try loading a decomposition from file and do a decomposition if unsuccessful. More...
 
 Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::UMFPack (const char *file, int verbose=0)
 try loading a decomposition from file More...
 
virtual Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::~UMFPack ()
 
virtual void Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::apply (domain_type &x, range_type &b, InverseOperatorResult &res)
 Apply inverse operator,. More...
 
virtual void Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::apply (domain_type &x, range_type &b, double reduction, InverseOperatorResult &res)
 apply inverse operator, with given convergence criteria. More...
 
void Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::apply (T *x, T *b)
 additional apply method with c-arrays in analogy to superlu More...
 
void Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::setOption (unsigned int option, double value)
 Set UMFPack-specific options. More...
 
void Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::saveDecomposition (const char *file)
 saves a decomposition to a file More...
 
void Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::setMatrix (const Matrix &_mat)
 Initialize data from given matrix. More...
 
template<class S >
void Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::setSubMatrix (const Matrix &_mat, const S &rowIndexSet)
 
void Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::setVerbosity (int v)
 sets the verbosity level for the UMFPack solver More...
 
void Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::free ()
 free allocated space. More...
 
const char * Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::name ()
 
template<class S >
std::size_t Dune::ILUSubdomainSolver< M, X, Y >::copyToLocalMatrix (const M &A, S &rowset)
 Copy the local part of the global matrix to ILU. More...
 
template<class S >
void Dune::ILU0SubdomainSolver< M, X, Y >::setSubMatrix (const M &A, S &rowset)
 Set the data of the local problem. More...
 
template<class S >
void Dune::ILUNSubdomainSolver< M, X, Y >::setSubMatrix (const M &A, S &rowset)
 Set the data of the local problem. More...
 
 Dune::SuperLU< BCRSMatrix< FieldMatrix< T, n, m >, A > >::~SuperLU ()
 
void Dune::SuperLU< BCRSMatrix< FieldMatrix< T, n, m >, A > >::free ()
 free allocated space. More...
 
 Dune::SuperLU< BCRSMatrix< FieldMatrix< T, n, m >, A > >::SuperLU (const Matrix &mat, bool verbose=false, bool reusevector=true)
 Constructs the SuperLU solver. More...
 
 Dune::SuperLU< BCRSMatrix< FieldMatrix< T, n, m >, A > >::SuperLU ()
 Empty default constructor. More...
 
void Dune::SuperLU< BCRSMatrix< FieldMatrix< T, n, m >, A > >::setVerbosity (bool v)
 
void Dune::SuperLU< BCRSMatrix< FieldMatrix< T, n, m >, A > >::setMatrix (const Matrix &mat)
 Initialize data from given matrix. More...
 
template<class S >
void Dune::SuperLU< BCRSMatrix< FieldMatrix< T, n, m >, A > >::setSubMatrix (const Matrix &mat, const S &rowIndexSet)
 
void Dune::SuperLU< BCRSMatrix< FieldMatrix< T, n, m >, A > >::apply (domain_type &x, range_type &b, InverseOperatorResult &res)
 Apply inverse operator,. More...
 
void Dune::SuperLU< BCRSMatrix< FieldMatrix< T, n, m >, A > >::apply (T *x, T *b)
 Apply SuperLu to C arrays. More...
 

Friends

template<class M , class X , class TM , class TD , class T1 >
class Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::SeqOverlappingSchwarz
 
struct Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::SeqOverlappingSchwarzAssemblerHelper< UMFPack< Matrix >, true >
 

Detailed Description

Iterative Solvers supporting block recursive matrix and vector classes at compile time.

The Iterative Solver Template Library applies generic programming in C++ to the domain of iterative solvers of linear systems stemming from finite element discretizations. Those discretizations exhibit a lot of structure, e.g:

  1. Certain discretizations for systems of PDEs or higher order methods result in matrices where individual entries are replaced by small blocks, say of size $2\times 2$ or $4\times 4$. Dense blocks of different sizes e.g. arise in $hp$ Discontinuous Galerkin discretization methods. It is straightforward and efficient to treat these small dense blocks as fully coupled and solve them with direct methods within the iterative method.
  2. Equation-wise ordering for systems results in matrices having an $n\times n$ block structure where $n$ corresponds to the number of variables in the PDE and the blocks themselves are large and sparse. As an example we mention the Stokes system.
  3. Other discretisation, e.~g. those of reaction/diffusion systems, produce sparse matrices whose blocks are sparse matrices of small dense blocks,

Our matrix and vector interface supports a block recursive structure. Each sparse matrix entry can itself be either a sparse or a small dense matrix.

The solvers use this recursive block structure via template meta programming at compile time.

ISTL consists of the matrix and vector API and the solvers which use the Preconditioners preconditioners.

Typedef Documentation

template<typename T , typename A , int n, int m>
typedef Dune::BlockVector< FieldVector<T,m>, typename A::template rebind<FieldVector<T,m> >::other> Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::domain_type

The type of the domain of the solver.

template<typename T , typename A , int n, int m>
typedef Dune::BCRSMatrix<FieldMatrix<T,n,m>,A> Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::Matrix

The matrix type.

template<typename T , typename A , int n, int m>
typedef Dune::BCRSMatrix<FieldMatrix<T,n,m>,A> Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::matrix_type
template<typename T , typename A , int n, int m>
typedef ColCompMatrixInitializer<BCRSMatrix<FieldMatrix<T,n,m>,A> > Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::MatrixInitializer

Type of an associated initializer class.

template<typename T , typename A , int n, int m>
typedef Dune::BlockVector< FieldVector<T,n>, typename A::template rebind<FieldVector<T,n> >::other> Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::range_type

The type of the range of the solver.

template<typename T , typename A , int n, int m>
typedef Dune::ColCompMatrix<Matrix> Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::UMFPackMatrix

The corresponding SuperLU Matrix type.

Enumeration Type Documentation

template<typename T , typename A , int n, int m>
anonymous enum
Enumerator
value 
template<typename T , typename A , int n, int m>
anonymous enum
Enumerator
value 

Function Documentation

template<typename T , typename A , int n, int m>
virtual void Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::apply ( domain_type x,
range_type b,
InverseOperatorResult res 
)
inlinevirtual

Apply inverse operator,.

Warning
Note: right hand side b may be overwritten!
Parameters
xThe left hand side to store the result in.
bThe right hand side
resObject to store the statistics about applying the operator.

References Dune::InverseOperatorResult::converged, Dune::InverseOperatorResult::iterations, and mat.

template<typename T , typename A , int n, int m>
virtual void Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::apply ( domain_type x,
range_type b,
double  reduction,
InverseOperatorResult res 
)
inlinevirtual

apply inverse operator, with given convergence criteria.

Warning
Right hand side b may be overwritten!
Parameters
xThe left hand side to store the result in.
bThe right hand side
reductionThe minimum defect reduction to achieve.
resObject to store the statistics about applying the operator.
template<typename T , typename A , int n, int m>
void Dune::SuperLU< BCRSMatrix< FieldMatrix< T, n, m >, A > >::apply ( domain_type x,
range_type b,
InverseOperatorResult res 
)

Apply inverse operator,.

Warning
Note: right hand side b may be overwritten!
Parameters
xThe left hand side to store the result in.
bThe right hand side
resObject to store the statistics about applying the operator.

References Dune::InverseOperatorResult::converged, Dune::InverseOperatorResult::iterations, Dune::Matrix< T, A >::M(), mat, and Dune::Matrix< T, A >::N().

template<typename T , typename A , int n, int m>
void Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::apply ( T *  x,
T *  b 
)
inline

additional apply method with c-arrays in analogy to superlu

Parameters
xsolution array
brhs array

References mat.

template<typename T , typename A , int n, int m>
void Dune::SuperLU< BCRSMatrix< FieldMatrix< T, n, m >, A > >::apply ( T *  x,
T *  b 
)

Apply SuperLu to C arrays.

References Dune::Matrix< T, A >::M(), mat, and Dune::Matrix< T, A >::N().

template<class M , class X , class Y >
template<class S >
std::size_t Dune::ILUSubdomainSolver< M, X, Y >::copyToLocalMatrix ( const M &  A,
S &  rowset 
)
protected

Copy the local part of the global matrix to ILU.

Parameters
AThe global matrix.
rowsetThe global indices of the local problem.

References col.

template<typename... A>
static void Dune::UMFPackMethodChooser< double >::defaults ( A...  args)
inlinestatic
template<typename... A>
static void Dune::UMFPackMethodChooser< std::complex< double > >::defaults ( A...  args)
inlinestatic
template<typename T , typename A , int n, int m>
void Dune::SuperLU< BCRSMatrix< FieldMatrix< T, n, m >, A > >::free ( )

free allocated space.

Warning
later calling apply will result in an error.

References mat.

template<typename T , typename A , int n, int m>
void Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::free ( )
inline

free allocated space.

Warning
later calling apply will result in an error.

References mat.

template<typename... A>
static void Dune::UMFPackMethodChooser< double >::free_numeric ( A...  args)
inlinestatic
template<typename... A>
static void Dune::UMFPackMethodChooser< std::complex< double > >::free_numeric ( A...  args)
inlinestatic
template<typename... A>
static void Dune::UMFPackMethodChooser< double >::free_symbolic ( A...  args)
inlinestatic
template<typename... A>
static void Dune::UMFPackMethodChooser< std::complex< double > >::free_symbolic ( A...  args)
inlinestatic
template<typename... A>
static int Dune::UMFPackMethodChooser< double >::load_numeric ( A...  args)
inlinestatic
template<typename... A>
static int Dune::UMFPackMethodChooser< std::complex< double > >::load_numeric ( A...  args)
inlinestatic
template<typename T , typename A , int n, int m>
const char* Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::name ( )
inline
template<typename... A>
static void Dune::UMFPackMethodChooser< double >::numeric ( A...  args)
inlinestatic
template<typename... A>
static void Dune::UMFPackMethodChooser< std::complex< double > >::numeric ( const int *  cs,
const int *  ri,
const double *  val,
A...  args 
)
inlinestatic
template<typename... A>
static void Dune::UMFPackMethodChooser< double >::report_info ( A...  args)
inlinestatic
template<typename... A>
static void Dune::UMFPackMethodChooser< std::complex< double > >::report_info ( A...  args)
inlinestatic
template<typename... A>
static void Dune::UMFPackMethodChooser< double >::report_status ( A...  args)
inlinestatic
template<typename... A>
static void Dune::UMFPackMethodChooser< std::complex< double > >::report_status ( A...  args)
inlinestatic
template<typename... A>
static int Dune::UMFPackMethodChooser< double >::save_numeric ( A...  args)
inlinestatic
template<typename... A>
static int Dune::UMFPackMethodChooser< std::complex< double > >::save_numeric ( A...  args)
inlinestatic
template<typename T , typename A , int n, int m>
void Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::saveDecomposition ( const char *  file)
inline

saves a decomposition to a file

Parameters
filethe filename to save to
template<typename T , typename A , int n, int m>
void Dune::SuperLU< BCRSMatrix< FieldMatrix< T, n, m >, A > >::setMatrix ( const Matrix mat)

Initialize data from given matrix.

References Dune::Matrix< T, A >::M(), mat, and Dune::Matrix< T, A >::N().

template<typename T , typename A , int n, int m>
void Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::setMatrix ( const Matrix _mat)
inline

Initialize data from given matrix.

References mat.

template<typename T , typename A , int n, int m>
void Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::setOption ( unsigned int  option,
double  value 
)
inline

Set UMFPack-specific options.

This method allows to set various options that control the UMFPack solver. More specifically, it allows to set values in the UMF_Control array. Please see the UMFPack documentation for a list of possible options and values.

Parameters
optionEntry in the UMF_Control array, e.g., UMFPACK_IRSTEP
valueCorresponding value
Exceptions
RangeErrorIf nonexisting option was requested
template<class M , class X , class Y >
template<class S >
void Dune::ILU0SubdomainSolver< M, X, Y >::setSubMatrix ( const M &  A,
S &  rowset 
)

Set the data of the local problem.

Parameters
AThe global matrix.
rowsetThe global indices of the local problem.
Template Parameters
SThe type of the set with the indices.

References Dune::bilu0_decomposition().

template<class M , class X , class Y >
template<class S >
void Dune::ILUNSubdomainSolver< M, X, Y >::setSubMatrix ( const M &  A,
S &  rowset 
)

Set the data of the local problem.

Parameters
AThe global matrix.
rowsetThe global indices of the local problem.
Template Parameters
SThe type of the set with the indices.

References Dune::bilu_decomposition().

template<typename T , typename A , int n, int m>
template<class S >
void Dune::SuperLU< BCRSMatrix< FieldMatrix< T, n, m >, A > >::setSubMatrix ( const Matrix mat,
const S &  rowIndexSet 
)
template<typename T , typename A , int n, int m>
template<class S >
void Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::setSubMatrix ( const Matrix _mat,
const S &  rowIndexSet 
)
inline

References mat.

template<typename T , typename A , int n, int m>
void Dune::SuperLU< BCRSMatrix< FieldMatrix< T, n, m >, A > >::setVerbosity ( bool  v)
template<typename T , typename A , int n, int m>
void Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::setVerbosity ( int  v)
inline

sets the verbosity level for the UMFPack solver

Parameters
vverbosity level The following levels are implemented: 0 - only error messages 1 - a bit of statistics on decomposition and solution 2 - lots of statistics on decomposition and solution
template<typename... A>
static void Dune::UMFPackMethodChooser< double >::solve ( A...  args)
inlinestatic
template<typename... A>
static void Dune::UMFPackMethodChooser< std::complex< double > >::solve ( int  m,
const int *  cs,
const int *  ri,
std::complex< double > *  val,
double *  x,
const double *  b,
A...  args 
)
inlinestatic
template<typename T , typename A , int n, int m>
Dune::SuperLU< BCRSMatrix< FieldMatrix< T, n, m >, A > >::SuperLU ( const Matrix mat,
bool  verbose = false,
bool  reusevector = true 
)
explicit

Constructs the SuperLU solver.

During the construction the matrix will be decomposed. That means that in each apply call forward and backward substitutions take place (and no decomposition).

Parameters
matThe matrix of the system to solve.
verboseIf true some statistics are printed.
reusevectorDefault value is true. If true the two vectors are allocate in the first call to apply. These get resused in subsequent calls to apply and are deallocated in the destructor. If false these vectors are allocated at the beginning and deallocated at the end of each apply method. This allows using the same instance of superlu from different threads.
template<typename T , typename A , int n, int m>
Dune::SuperLU< BCRSMatrix< FieldMatrix< T, n, m >, A > >::SuperLU ( )

Empty default constructor.

Use setMatrix to tell SuperLU for what matrix it solves. Using this constructor no vectors will be reused.

template<typename... A>
static void Dune::UMFPackMethodChooser< double >::symbolic ( A...  args)
inlinestatic
template<typename... A>
static void Dune::UMFPackMethodChooser< std::complex< double > >::symbolic ( int  m,
int  n,
const int *  cs,
const int *  ri,
const double *  val,
A...  args 
)
inlinestatic
template<typename T , typename A , int n, int m>
Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::UMFPack ( const Matrix mat_,
int  verbose = 0 
)
inline

construct a solver object from a BCRSMatrix

Parameters
mat_the matrix to solve for
verbose[0..2] set the verbosity level, defaults to 0
template<typename T , typename A , int n, int m>
Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::UMFPack ( const Matrix mat_,
int  verbose,
bool   
)
inline

Constructor for compatibility with SuperLU standard constructor.

Parameters
mat_the matrix to solve for
verbose[0..2] set the verbosity level, defaults to 0
template<typename T , typename A , int n, int m>
Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::UMFPack ( )
inline

default constructor

template<typename T , typename A , int n, int m>
Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::UMFPack ( const Matrix mat_,
const char *  file,
int  verbose = 0 
)
inline

Try loading a decomposition from file and do a decomposition if unsuccessful.

Parameters
mat_the matrix to decompose when no decoposition file found
filethe decomposition file
verbosethe verbosity level use saveDecomposition(char* file) for manually storing a decomposition. This constructor will decompose mat_ and store the result to file if no file wasnt found in the first place. Thus, if you always use this you will only compute the decomposition once (and when you manually deleted the decomposition file).
template<typename T , typename A , int n, int m>
Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::UMFPack ( const char *  file,
int  verbose = 0 
)
inline

try loading a decomposition from file

Parameters
filethe decomposition file
verbosethe verbosity level
Exceptions
Dune::ExceptionWhen not being able to load the file. Does not need knowledge of the actual matrix!
template<typename T , typename A , int n, int m>
Dune::SuperLU< BCRSMatrix< FieldMatrix< T, n, m >, A > >::~SuperLU ( )
template<typename T , typename A , int n, int m>
virtual Dune::UMFPack< BCRSMatrix< FieldMatrix< T, n, m >, A > >::~UMFPack ( )
inlinevirtual

References mat.

Friends

template<typename T , typename A , int n, int m>
template<class M , class X , class TM , class TD , class T1 >
friend class SeqOverlappingSchwarz
friend
template<typename T , typename A , int n, int m>
friend struct SeqOverlappingSchwarzAssemblerHelper< UMFPack< Matrix >, true >
friend