Public Member Functions | Static Public Member Functions | Private Attributes
SparseDirectMUMPS Class Reference

List of all members.

Public Member Functions

 SparseDirectMUMPS ()
 ~SparseDirectMUMPS ()
template<class Matrix >
void initialize (const Matrix &matrix, const Vector< double > &vector)
void solve (Vector< double > &vector)

Static Public Member Functions

::ExceptionBase & ExcInitializeAlreadyCalled ()

Private Attributes

DMUMPS_STRUC_C id
double * a
double * rhs
unsigned int * irn
unsigned int * jcn
unsigned int n
unsigned int nz
bool initialize_called

Detailed Description

This class provides an interface to the parallel sparse direct solver MUMPS. MUMPS is direct method based on a multifrontal approach, which performs a direct LU factorization. The matrix coming in may have either symmetric or nonsymmetric sparsity pattern.

Note:
This class is useable if and only if a working installation of MUMPS exists on your system and was detected during configuration of deal.II.

Instantiations

There are instantiations of this class for SparseMatrix<double>, SparseMatrix<float>, BlockSparseMatrix<double>, and BlockSparseMatrix<float>.

Author:
Markus Buerg, 2010

Constructor & Destructor Documentation

SparseDirectMUMPS::SparseDirectMUMPS ( )

Constructor

SparseDirectMUMPS::~SparseDirectMUMPS ( )

Destructor


Member Function Documentation

::ExceptionBase& SparseDirectMUMPS::ExcInitializeAlreadyCalled ( ) [static]

Exception

template<class Matrix >
void SparseDirectMUMPS::initialize ( const Matrix &  matrix,
const Vector< double > &  vector 
)

This function initializes a MUMPS instance and hands over the system's matrix matrix and right-hand side vector to the solver.

void SparseDirectMUMPS::solve ( Vector< double > &  vector)

A function in which the linear system is solved and the solution vector is copied into the given vector.


Member Data Documentation

DMUMPS_STRUC_C SparseDirectMUMPS::id [private]

Flags storing whether the function initialize () has already been called.


The documentation for this class was generated from the following file:

deal.II documentation generated on Fri Aug 12 2011 15:01:06 by doxygen 1.7.4