Dune-Fufem 2.11-git
Loading...
Searching...
No Matches
Dune::Fufem::MatrixBuilder< MultiTypeBlockMatrix< Row0, Rows... > > Class Template Reference

Helper class for building matrix pattern. More...

#include <dune/fufem/backends/matrixbuilder.hh>

Public Types

using Matrix = MultiTypeBlockMatrix< Row0, Rows... >
 

Public Member Functions

 MatrixBuilder (Matrix &matrix)
 
template<class RowSizeInfo , class ColSizeInfo >
void resize (const RowSizeInfo &rowSizeInfo, const ColSizeInfo &colSizeInfo)
 
template<class RowIndex , class ColIndex >
void insertEntry (const RowIndex &rowIndex, const ColIndex &colIndex)
 
void setupMatrix ()
 

Detailed Description

template<class Row0, class... Rows>
class Dune::Fufem::MatrixBuilder< MultiTypeBlockMatrix< Row0, Rows... > >

Helper class for building matrix pattern.

Version for MultiTypeBlockMatrix with BCRSMatrix-like blocks. It uses a 2D std::array of MatrixIndexSets

Deprecated:
This class is deprecated and will be removed after 2.11. Use the ISTLMatrixBackend::PatternBuilder from the dune-assember module instead.

Member Typedef Documentation

◆ Matrix

template<class Row0 , class... Rows>
using Dune::Fufem::MatrixBuilder< MultiTypeBlockMatrix< Row0, Rows... > >::Matrix = MultiTypeBlockMatrix<Row0,Rows...>

Constructor & Destructor Documentation

◆ MatrixBuilder()

template<class Row0 , class... Rows>
Dune::Fufem::MatrixBuilder< MultiTypeBlockMatrix< Row0, Rows... > >::MatrixBuilder ( Matrix matrix)
inline

Member Function Documentation

◆ insertEntry()

template<class Row0 , class... Rows>
template<class RowIndex , class ColIndex >
void Dune::Fufem::MatrixBuilder< MultiTypeBlockMatrix< Row0, Rows... > >::insertEntry ( const RowIndex &  rowIndex,
const ColIndex &  colIndex 
)
inline

◆ resize()

template<class Row0 , class... Rows>
template<class RowSizeInfo , class ColSizeInfo >
void Dune::Fufem::MatrixBuilder< MultiTypeBlockMatrix< Row0, Rows... > >::resize ( const RowSizeInfo &  rowSizeInfo,
const ColSizeInfo &  colSizeInfo 
)
inline

◆ setupMatrix()

template<class Row0 , class... Rows>
void Dune::Fufem::MatrixBuilder< MultiTypeBlockMatrix< Row0, Rows... > >::setupMatrix ( )
inline

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