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

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

Inheritance diagram for Dune::Assembler::ISTLMatrixPatternBackend< Dune::Matrix< Dune::BCRSMatrix< T, InnerA >, OuterA > >:
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 OuterA , class InnerA >
Dune::Assembler::ISTLMatrixPatternBackend< Dune::Matrix< Dune::BCRSMatrix< T, InnerA >, OuterA > >::ISTLMatrixPatternBackend ( Matrix &  matrix)
inline

Member Function Documentation

◆ add()

◆ forEachEntry()

template<class T , class OuterA , class InnerA >
template<class F >
void Dune::Assembler::ISTLMatrixPatternBackend< Dune::Matrix< Dune::BCRSMatrix< T, InnerA >, OuterA > >::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 OuterA , class InnerA >
template<class RowBasis , class ColBasis >
void Dune::Assembler::ISTLMatrixPatternBackend< Dune::Matrix< Dune::BCRSMatrix< T, InnerA >, OuterA > >::resize ( const RowBasis &  rowBasis,
const ColBasis &  colBasis 
)
inline

◆ setupMatrix()


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