dune-istl  2.3beta2
Public Types | Public Member Functions | Public Attributes | 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>

Inheritance diagram for Dune::SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >:
Inheritance graph

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 ()
virtual ~SuperLUMatrix ()
 Destructor.
 operator SuperMatrix & ()
 Cast to a SuperLU Matrix.
 operator const SuperMatrix & () const
 Cast to a SuperLU Matrix.
SuperLUMatrix< BCRSMatrix
< FieldMatrix< B, n, m >, TA > > & 
operator= (const BCRSMatrix< FieldMatrix< B, n, m >, TA > &mat)
SuperLUMatrix< BCRSMatrix
< FieldMatrix< B, n, m >, TA > > & 
operator= (const SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > > &mat)
virtual void setMatrix (const Matrix &mat, const std::set< std::size_t > &mrs)
 Initialize data from a given set of matrix rows and columns.
virtual void setMatrix (const Matrix &mat)
 Initialize data from given matrix.
virtual void free ()
 free allocated space.
size_type N () const
 Get the number of rows.
size_type nnz () const
size_type M () const
 Get the number of columns.
B * getValues () const
int * getRowIndex () const
int * getColStart () const

Public Attributes

int N_
int M_
int Nnz_
B * values
int * rowindex
int * colstart

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)
inlineexplicit

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 ( )
inline
template<class B , class TA , int n, int m>
virtual Dune::SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::~SuperLUMatrix ( )
inlinevirtual

Destructor.

Member Function Documentation

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

free allocated space.

Reimplemented from Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >.

References A.

template<class B , class TA , int n, int m>
int* Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::getColStart ( ) const
inlineinherited
template<class B , class TA , int n, int m>
int* Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::getRowIndex ( ) const
inlineinherited
template<class B , class TA , int n, int m>
B* Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::getValues ( ) const
inlineinherited
template<class B , class TA , int n, int m>
size_type Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::M ( ) const
inlineinherited

Get the number of columns.

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

Get the number of rows.

Returns
The number of rows.
template<class B , class TA , int n, int m>
size_type Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::nnz ( ) const
inlineinherited
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<BCRSMatrix<FieldMatrix<B,n,m>,TA> >& Dune::SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::operator= ( const BCRSMatrix< FieldMatrix< B, n, m >, TA > &  mat)
inline

References A, and mat.

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

References A, and mat.

template<class B , class TA , int n, int m>
virtual void Dune::SuperLUMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::setMatrix ( const Matrix mat,
const std::set< std::size_t > &  mrs 
)
inlinevirtual

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

Reimplemented from Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >.

References Dune::copyToColCompMatrix().

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

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

Member Data Documentation

template<class B , class TA , int n, int m>
int* Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::colstart
inherited
template<class B , class TA , int n, int m>
int Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::M_
inherited
template<class B , class TA , int n, int m>
int Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::N_
inherited
template<class B , class TA , int n, int m>
int Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::Nnz_
inherited
template<class B , class TA , int n, int m>
int* Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::rowindex
inherited
template<class B , class TA , int n, int m>
B* Dune::ColCompMatrix< BCRSMatrix< FieldMatrix< B, n, m >, TA > >::values
inherited

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