dune-assembler 2.12
Loading...
Searching...
No Matches
Dune::Assembler::ISTLMatrixPatternBackend< Dune::BCRSMatrix< T, A > > Class Template Reference

#include <dune/assembler/backends/istlmatrixbackend.hh>

Inheritance diagram for Dune::Assembler::ISTLMatrixPatternBackend< Dune::BCRSMatrix< T, A > >:
Inheritance graph

Public Types

using LocalPattern = typename Base::LocalPattern
 

Public Member Functions

 ISTLMatrixPatternBackend (Matrix &matrix)
 
template<class RowBasis , class ColBasis >
void resize (const RowBasis &rowBasis, const ColBasis &colBasis)
 
template<class RowIndex , class ColIndex >
void add (const RowIndex &rowIndex, const ColIndex &colIndex)
 
void setupMatrix ()
 
template<class F >
void forEachEntry (F &&f) const
 Traverse entries in the pattern.
 

Member Typedef Documentation

◆ LocalPattern

Constructor & Destructor Documentation

◆ ISTLMatrixPatternBackend()

template<class T , class A >
Dune::Assembler::ISTLMatrixPatternBackend< Dune::BCRSMatrix< T, A > >::ISTLMatrixPatternBackend ( Matrix &  matrix)
inline

Member Function Documentation

◆ add()

template<class T , class A >
template<class RowIndex , class ColIndex >
void Dune::Assembler::ISTLMatrixPatternBackend< Dune::BCRSMatrix< T, A > >::add ( const RowIndex &  rowIndex,
const ColIndex &  colIndex 
)
inline

◆ forEachEntry()

template<class T , class A >
template<class F >
void Dune::Assembler::ISTLMatrixPatternBackend< Dune::BCRSMatrix< T, A > >::forEachEntry ( F &&  f) const
inline

Traverse entries in the pattern.

Parameters
fThis callback will be called as f(i,j) with row and column indices i and j

Notice that, during the call f(i,j) the callback must not insert entries (i,k) with the same row index.

◆ resize()

template<class T , class A >
template<class RowBasis , class ColBasis >
void Dune::Assembler::ISTLMatrixPatternBackend< Dune::BCRSMatrix< T, A > >::resize ( const RowBasis &  rowBasis,
const ColBasis &  colBasis 
)
inline

◆ setupMatrix()

template<class T , class A >
void Dune::Assembler::ISTLMatrixPatternBackend< Dune::BCRSMatrix< T, A > >::setupMatrix ( )
inline

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