DUNE PDELab (2.8)

Dune::PDELab::ISTL::NestedPattern< RowOrdering, ColOrdering, SubPattern_ > Class Template Reference

Pattern builder for nested hierarchies of generic BCRS-like sparse matrices. More...

#include <dune/pdelab/backend/istl/bcrspattern.hh>

Public Types

typedef SubPattern_ SubPattern
 The pattern type used for each block.
 
typedef SubPattern::size_type size_type
 size type used by NestedPattern.
 

Public Member Functions

template<typename RI , typename CI >
void add_link (const RI &ri, const CI &ci)
 Add a link between the row indicated by ri and the column indicated by ci. More...
 
SubPatternsubPattern (size_type i, size_type j)
 Returns the subpattern associated with block (i,j).
 

Detailed Description

template<typename RowOrdering, typename ColOrdering, typename SubPattern_>
class Dune::PDELab::ISTL::NestedPattern< RowOrdering, ColOrdering, SubPattern_ >

Pattern builder for nested hierarchies of generic BCRS-like sparse matrices.

NestedPattern contains a dense set of subpatterns for each matrix block. Those blocks can be nested (i.e. be NestedPatterns again) or BCRSPattern instances.

Member Function Documentation

◆ add_link()

template<typename RowOrdering , typename ColOrdering , typename SubPattern_ >
template<typename RI , typename CI >
void Dune::PDELab::ISTL::NestedPattern< RowOrdering, ColOrdering, SubPattern_ >::add_link ( const RI &  ri,
const CI &  ci 
)
inline

Add a link between the row indicated by ri and the column indicated by ci.

This method just forwards the call to the relevant block as indicated by the tail members of ri and ci.


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.111.3 (Dec 22, 23:30, 2024)