DUNE-FEM (unstable)

Dune::Fem::DofIteratorDefault< DofImp, DofIteratorImp > Class Template Reference

default implementation of DofManagerInterface More...

#include <dune/fem/function/common/dofiterator.hh>

Public Types

typedef DofImp DofType
 type of the DoFs
 
typedef DofIteratorImp DofIteratorType
 type of the implementation (Barton-Nackman)
 

Public Member Functions

int index () const
 
DofTypeoperator* ()
 obtain reference to current DoF More...
 
const DofTypeoperator* () const
 obtain reference to current DoF More...
 
DofIteratorTypeoperator++ ()
 increment the iterator More...
 
bool operator== (const DofIteratorType &other) const
 check for equality More...
 
void reset ()
 reset iterator to the first position
 

Detailed Description

template<class DofImp, class DofIteratorImp>
class Dune::Fem::DofIteratorDefault< DofImp, DofIteratorImp >

default implementation of DofManagerInterface

Member Function Documentation

◆ index()

template<class DofImp , class DofIteratorImp >
int Dune::Fem::DofIteratorDefault< DofImp, DofIteratorImp >::index ( ) const
inline

◆ operator*() [1/2]

template<class DofImp , class DofIteratorImp >
DofType & Dune::Fem::DofIteratorInterface< DofImp, DofIteratorImp >::operator* ( )
inlineinherited

obtain reference to current DoF

Returns
a reference to the current DoF

◆ operator*() [2/2]

template<class DofImp , class DofIteratorImp >
const DofType & Dune::Fem::DofIteratorInterface< DofImp, DofIteratorImp >::operator* ( ) const
inlineinherited

obtain reference to current DoF

Returns
a constant reference to the current DoF

◆ operator++()

template<class DofImp , class DofIteratorImp >
DofIteratorType & Dune::Fem::DofIteratorInterface< DofImp, DofIteratorImp >::operator++ ( )
inlineinherited

increment the iterator

Lets the iterator point to the next DoF.

Returns
reference the the incremented iterator (i.e., *this)

◆ operator==()

template<class DofImp , class DofIteratorImp >
bool Dune::Fem::DofIteratorInterface< DofImp, DofIteratorImp >::operator== ( const DofIteratorType other) const
inlineinherited

check for equality

Parameters
[in]otherDoF iterator to compare this one to
Returns
true if the iterators are the same, false otherewise

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 (Nov 12, 23:30, 2024)