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

::ExceptionBaseExcInitializeAlreadyCalled ()

Private Attributes

DMUMPS_STRUC_C id
doublea
doublerhs
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

Definition at line 1298 of file sparse_direct.h.


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]

Definition at line 1303 of file sparse_direct.h.

Definition at line 1306 of file sparse_direct.h.

Definition at line 1307 of file sparse_direct.h.

Definition at line 1308 of file sparse_direct.h.

Definition at line 1309 of file sparse_direct.h.

Definition at line 1310 of file sparse_direct.h.

Definition at line 1311 of file sparse_direct.h.

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

Definition at line 1318 of file sparse_direct.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

deal.II documentation generated on Fri Feb 3 2012 06:04:11 by doxygen 1.7.2