dune-istl  2.2.1
Public Types | Public Member Functions | Friends | List of all members
Dune::SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > > Class Template Reference

Converter for BCRSMatrix to SuperLU Matrix. More...

#include <dune/istl/supermatrix.hh>

Public Types

typedef BCRSMatrix
< FieldMatrix< B, n, m >, TA > 
Matrix
 The type of the matrix to convert.
typedef Matrix::size_type size_type

Public Member Functions

 SuperLUMatrix (const Matrix &mat)
 Constructor that initializes the data.
 SuperLUMatrix ()
 ~SuperLUMatrix ()
 Destructor.
 operator SuperMatrix & ()
 Cast to a SuperLU Matrix.
 operator const SuperMatrix & () const
 Cast to a SuperLU Matrix.
bool operator== (const Matrix &mat) const
size_type N () const
 Get the number of rows.
size_type nnz () const
size_type M () const
 Get the number of columns.
SuperLUMatrixoperator= (const Matrix &mat)
SuperLUMatrixoperator= (const SuperLUMatrix &mat)
template<class S >
void setMatrix (const Matrix &mat, const S &mrs)
 Initialize data from a given set of matrix rows and columns.
void free ()
 free allocated space.

Friends

class SeqOverlappingSchwarz
struct SuperMatrixInitializer< BCRSMatrix< FieldMatrix< B, n, m >, TA > >
struct SeqOverlappingSchwarzAssembler< SuperLU< Matrix > >

Detailed Description

template<class B, class TA, int n, int m>
class Dune::SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >

Converter for BCRSMatrix to SuperLU Matrix.

Member Typedef Documentation

template<class B , class TA , int n, int m>
typedef BCRSMatrix<FieldMatrix<B,n,m>,TA> Dune::SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::Matrix

The type of the matrix to convert.

template<class B , class TA , int n, int m>
typedef Matrix::size_type Dune::SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::size_type

Constructor & Destructor Documentation

template<class B , class TA , int n, int m>
Dune::SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::SuperLUMatrix ( const Matrix mat)

Constructor that initializes the data.

Parameters
matThe matrix to convert.
template<class B , class TA , int n, int m>
Dune::SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::SuperLUMatrix ( )
template<class B , class TA , int n, int m>
Dune::SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::~SuperLUMatrix ( )

Destructor.

Member Function Documentation

template<class B , class TA , int n, int m>
void Dune::SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::free ( )

free allocated space.

template<class B , class TA , int n, int m>
size_type Dune::SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::M ( ) const
inline

Get the number of columns.

Returns
The number of columns.
template<class B , class TA , int n, int m>
size_type Dune::SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::N ( ) const
inline

Get the number of rows.

Returns
The number of rows.
template<class B , class TA , int n, int m>
size_type Dune::SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::nnz ( ) const
inline
template<class B , class TA , int n, int m>
Dune::SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::operator const SuperMatrix & ( ) const
inline

Cast to a SuperLU Matrix.

References A.

template<class B , class TA , int n, int m>
Dune::SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::operator SuperMatrix & ( )
inline

Cast to a SuperLU Matrix.

References A.

template<class B , class TA , int n, int m>
SuperLUMatrix& Dune::SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::operator= ( const Matrix mat)
template<class B , class TA , int n, int m>
SuperLUMatrix& Dune::SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::operator= ( const SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > > &  mat)
template<class B , class TA , int n, int m>
bool Dune::SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::operator== ( const Matrix mat) const
template<class B , class TA , int n, int m>
template<class S >
void Dune::SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::setMatrix ( const Matrix mat,
const S &  mrs 
)

Initialize data from a given set of matrix rows and columns.

Template Parameters
Thetype of the row index set.
Parameters
matthe matrix with the values
mrsThe set of row (and column) indices to represent

Friends And Related Function Documentation

template<class B , class TA , int n, int m>
friend class SeqOverlappingSchwarz
friend
template<class B , class TA , int n, int m>
friend struct SeqOverlappingSchwarzAssembler< SuperLU< Matrix > >
friend
template<class B , class TA , int n, int m>
friend struct SuperMatrixInitializer< BCRSMatrix< FieldMatrix< B, n, m >, TA > >
friend

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