dune-pdelab  2.4-dev
Public Types | Public Member Functions | List of all members
Dune::PDELab::DummyDOFIndexIterator Struct Reference

Dummy iterator type over DOF indices. More...

#include <dune/pdelab/ordering/utility.hh>

Public Types

typedef std::size_t size_type
 

Public Member Functions

DummyDOFIndexIteratoroperator++ ()
 
DummyDOFIndexIteratoroperator+= (size_type i)
 
DummyDOFIndexIteratoroperator* ()
 
DummyDOFIndexIteratoroperator-> ()
 
DummyDOFIndexIteratortreeIndex ()
 
bool operator== (const DummyDOFIndexIterator &r) const
 
bool operator!= (const DummyDOFIndexIterator &r) const
 
void push_back (size_type i)
 

Detailed Description

Dummy iterator type over DOF indices.

This dummy iterator is used to support omitting the calculation of DOFIndex values in the per-entity index lookup methods of orderings. By defining all operations performed on the DOFIndex iterator and its value by this methods as no-ops, we can reuse the combined implementation mapping both DOFIndex and ContainerIndex for the (much more common) case of only having to map the ContainerIndex values.

Member Typedef Documentation

Member Function Documentation

bool Dune::PDELab::DummyDOFIndexIterator::operator!= ( const DummyDOFIndexIterator r) const
inline

References operator==().

DummyDOFIndexIterator& Dune::PDELab::DummyDOFIndexIterator::operator* ( )
inline
DummyDOFIndexIterator& Dune::PDELab::DummyDOFIndexIterator::operator++ ( )
inline
DummyDOFIndexIterator& Dune::PDELab::DummyDOFIndexIterator::operator+= ( size_type  i)
inline
DummyDOFIndexIterator* Dune::PDELab::DummyDOFIndexIterator::operator-> ( )
inline
bool Dune::PDELab::DummyDOFIndexIterator::operator== ( const DummyDOFIndexIterator r) const
inline

Referenced by operator!=().

void Dune::PDELab::DummyDOFIndexIterator::push_back ( size_type  i)
inline
DummyDOFIndexIterator& Dune::PDELab::DummyDOFIndexIterator::treeIndex ( )
inline

The documentation for this struct was generated from the following file: