Dune Core Modules (2.6.0)

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

An uncached selection of indices. More...

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

Public Types

typedef TS AttributeSet
 The type of the Set of attributes. More...
 
typedef TG GlobalIndex
 The type of the global index of the underlying index set.
 
typedef TL LocalIndex
 The type of the local index of the underlying index set. More...
 
typedef Dune::ParallelIndexSet< GlobalIndex, LocalIndex, N > ParallelIndexSet
 The type of the underlying index set.
 
typedef SelectionIterator< TS, TG, TL, N > iterator
 The type of the iterator of the selected indices.
 
typedef iterator const_iterator
 The type of the iterator of the selected indices.
 

Public Member Functions

void setIndexSet (const ParallelIndexSet &indexset)
 Set the index set of the selection. More...
 
const_iterator begin () const
 Get the index set we are a selection for. More...
 
const_iterator end () const
 Get an iterator over the selected indices. More...
 

Detailed Description

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

An uncached selection of indices.

Member Typedef Documentation

◆ AttributeSet

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

The type of the Set of attributes.

It has to provide a static method

bool contains(AttributeType a);

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

◆ LocalIndex

template<typename TS , typename TG , typename TL , int N>
typedef TL Dune::UncachedSelection< TS, TG, TL, N >::LocalIndex

The type of the local index of the underlying index set.

It has to provide a function

AttributeType attribute();

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.80.0 (Mar 28, 23:30, 2024)