DUNE PDELab (git)
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... | |
SubPattern & | subPattern (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_ >
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 >
|
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:
- dune/pdelab/backend/istl/bcrspattern.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 24, 23:30, 2024)