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

Converter for BCRSMatrix to SuperLU Matrix. More...

#include <dune/istl/supermatrix.hh>

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

Public Types

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

Public Member Functions

 SuperLUMatrix (const Matrix &mat)
 Constructor that initializes the data. More...
 
 SuperLUMatrix ()
 
virtual ~SuperLUMatrix ()
 Destructor. More...
 
 operator SuperMatrix & ()
 Cast to a SuperLU Matrix. More...
 
 operator const SuperMatrix & () const
 Cast to a SuperLU Matrix. More...
 
SuperLUMatrix< BCRSMatrix< B, TA > > & operator= (const BCRSMatrix< B, TA > &mat)
 
SuperLUMatrix< BCRSMatrix< B, TA > > & operator= (const SuperLUMatrix< BCRSMatrix< B, 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. More...
 
virtual void setMatrix (const Matrix &mat)
 Initialize data from given matrix. More...
 
virtual void free ()
 free allocated space. More...
 

Detailed Description

template<class B, class TA>
class Dune::SuperLUMatrix< BCRSMatrix< B, TA > >

Converter for BCRSMatrix to SuperLU Matrix.

Member Typedef Documentation

◆ Matrix

template<class B , class TA >
typedef BCRSMatrix<B,TA> Dune::SuperLUMatrix< BCRSMatrix< B, TA > >::Matrix

The type of the matrix to convert.

◆ size_type

template<class B , class TA >
typedef Matrix::size_type Dune::SuperLUMatrix< BCRSMatrix< B, TA > >::size_type

Constructor & Destructor Documentation

◆ SuperLUMatrix() [1/2]

template<class B , class TA >
Dune::SuperLUMatrix< BCRSMatrix< B, TA > >::SuperLUMatrix ( const Matrix mat)
inlineexplicit

Constructor that initializes the data.

Parameters
matThe matrix to convert.

◆ SuperLUMatrix() [2/2]

template<class B , class TA >
Dune::SuperLUMatrix< BCRSMatrix< B, TA > >::SuperLUMatrix ( )
inline

◆ ~SuperLUMatrix()

template<class B , class TA >
virtual Dune::SuperLUMatrix< BCRSMatrix< B, TA > >::~SuperLUMatrix ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ free()

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

free allocated space.

◆ operator const SuperMatrix &()

template<class B , class TA >
Dune::SuperLUMatrix< BCRSMatrix< B, TA > >::operator const SuperMatrix & ( ) const
inline

Cast to a SuperLU Matrix.

◆ operator SuperMatrix &()

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

Cast to a SuperLU Matrix.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ setMatrix() [1/2]

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

Initialize data from given matrix.

◆ setMatrix() [2/2]

template<class B , class TA >
virtual void Dune::SuperLUMatrix< BCRSMatrix< B, 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

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