Dune Core Modules (2.6.0)

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.
 

Public Member Functions

 SuperLUMatrix (const Matrix &mat)
 Constructor that initializes the data. More...
 
virtual ~SuperLUMatrix ()
 Destructor.
 
 operator SuperMatrix & ()
 Cast to a SuperLU Matrix.
 
 operator const SuperMatrix & () const
 Cast to a SuperLU Matrix.
 
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.
 
virtual void free ()
 free allocated space.
 
size_type N () const
 Get the number of rows. More...
 
size_type M () const
 Get the number of columns. More...
 

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.

Constructor & Destructor Documentation

◆ SuperLUMatrix()

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.

Member Function Documentation

◆ M()

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.

◆ N()

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.

◆ setMatrix()

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 > >.


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (Apr 23, 22:30, 2024)