DUNE PDELab (git)
bcrspattern.hh
90 typedef typename std::set<std::pair<size_type,size_type> >::const_iterator ConstOverflowIterator;
264 BCRSPattern(const RowOrdering& row_ordering, const ColOrdering& col_ordering, size_type entries_per_row)
350 _sub_patterns[ri.back() * _col_ordering.blockCount() + ci.back()].recursive_add_entry(ri.back_popped(),ci.back_popped());
356 NestedPattern(const RowOrdering& row_ordering, const ColOrdering& col_ordering, const EntriesPerRow& entries_per_row)
373 NestedPattern(const RowOrdering& row_ordering, const ColOrdering& col_ordering, size_type entries_per_row)
Various tags for influencing backend behavior.
Base class for stl conformant forward iterators.
Definition: iteratorfacades.hh:142
Pattern builder for generic BCRS-like sparse matrices.
Definition: bcrspattern.hh:44
void SubPattern
BCRSPattern cannot contain nested subpatterns. This entry is only required for TMP purposes.
Definition: bcrspattern.hh:52
iterator begin(size_type i) const
Returns an iterator to the first column index of row i.
Definition: bcrspattern.hh:247
BCRSPattern(const RowOrdering &row_ordering, const ColOrdering &col_ordering, size_type entries_per_row)
Constructs a BCRSPattern for the given pair of orderings and reserves space for the provided average ...
Definition: bcrspattern.hh:264
RowOrdering::Traits::size_type size_type
size type used by BCRSPattern.
Definition: bcrspattern.hh:49
void sizes(I rit) const
Stream the sizes of all rows into the output iterator rit.
Definition: bcrspattern.hh:134
void clear()
Discard all internal data.
Definition: bcrspattern.hh:288
iterator end(size_type i) const
Returns an iterator past the last column index of row i.
Definition: bcrspattern.hh:253
void add_link(const RI &ri, const CI &ci)
Add a link between the row indicated by ri and the column indicated by ci.
Definition: bcrspattern.hh:96
std::vector< size_type > sizes() const
Returns a vector with the size of all rows in the pattern.
Definition: bcrspattern.hh:159
Pattern builder for nested hierarchies of generic BCRS-like sparse matrices.
Definition: bcrspattern.hh:324
void add_link(const RI &ri, const CI &ci)
Add a link between the row indicated by ri and the column indicated by ci.
Definition: bcrspattern.hh:340
SubPattern_ SubPattern
The pattern type used for each block.
Definition: bcrspattern.hh:329
SubPattern::size_type size_type
size type used by NestedPattern.
Definition: bcrspattern.hh:332
SubPattern & subPattern(size_type i, size_type j)
Returns the subpattern associated with block (i,j).
Definition: bcrspattern.hh:391
constexpr auto equals(T1 &&t1, T2 &&t2)
Equality comparison.
Definition: hybridutilities.hh:587
This file implements iterator facade classes for writing stl conformant iterators.
constexpr std::bool_constant<(sizeof...(II)==0)> empty(std::integer_sequence< T, II... >)
Checks whether the sequence is empty.
Definition: integersequence.hh:80
Iterator over all column indices for a given row, unique but in arbitrary order.
Definition: bcrspattern.hh:169
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 24, 23:30, 2024)