Dune Core Modules (unstable)

Dune::SelectionIterator< TS, TG, TL, N > Class Template Reference

A const iterator over an uncached selection. More...

#include <dune/common/parallel/selection.hh>

Public Types

typedef TS AttributeSet
 The type of the Set of attributes. More...
 
typedef Dune::ParallelIndexSet< TG, TL, N > ParallelIndexSet
 The type of the underlying index set.
 

Public Member Functions

 SelectionIterator (const ParallelIndexSetIterator &iter, const ParallelIndexSetIterator &end)
 Constructor. More...
 

Detailed Description

template<typename TS, typename TG, typename TL, int N>
class Dune::SelectionIterator< TS, TG, TL, N >

A const iterator over an uncached selection.

Member Typedef Documentation

◆ AttributeSet

template<typename TS , typename TG , typename TL , int N>
typedef TS Dune::SelectionIterator< TS, TG, TL, N >::AttributeSet

The type of the Set of attributes.

It has to provide a static method

bool contains(AttributeType a);
constexpr std::bool_constant<((II==value)||...)> contains(std::integer_sequence< T, II... >, std::integral_constant< T, value >)
Checks whether or not a given sequence contains a value.
Definition: integersequence.hh:137

that returns true if a is in the set. Such types are EnumItem, EnumRange, Combine.

Constructor & Destructor Documentation

◆ SelectionIterator()

template<typename TS , typename TG , typename TL , int N>
Dune::SelectionIterator< TS, TG, TL, N >::SelectionIterator ( const ParallelIndexSetIterator iter,
const ParallelIndexSetIterator end 
)
inline

Constructor.

Parameters
iterThe iterator over the index set.
endThe iterator over the index set positioned at the end.

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 21, 23:30, 2024)