dune-fem 2.8.0
|
interface for DoF iterators of discrete functions 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 | |
DofIteratorType & | operator= (const DofIteratorType &other) |
assign another DoF iterator to this one | |
DofType & | operator* () |
obtain reference to current DoF | |
const DofType & | operator* () const |
obtain reference to current DoF | |
const DofImp & | operator[] (const int n) const |
DofImp & | operator[] (const int n) |
DofIteratorType & | operator++ () |
increment the iterator | |
bool | operator== (const DofIteratorType &other) const |
check for equality | |
bool | operator!= (const DofIteratorType &other) const |
check for inequality | |
int | index () const |
get the global number of the current DoF | |
void | reset () |
reset iterator to the first position | |
Protected Member Functions | |
const DofIteratorImp & | asImp () const |
DofIteratorImp & | asImp () |
Static Protected Member Functions | |
static const DofIteratorImp & | asImp (const ThisType &other) |
static DofIteratorImp & | asImp (ThisType &other) |
interface for DoF iterators of discrete functions
The DoF iterator is an efficient way of walking through the DoFs of a discrete function.
typedef DofIteratorImp Dune::Fem::DofIteratorInterface< DofImp, DofIteratorImp >::DofIteratorType |
type of the implementation (Barton-Nackman)
typedef DofImp Dune::Fem::DofIteratorInterface< DofImp, DofIteratorImp >::DofType |
type of the DoFs
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlinestaticprotectedinherited |
|
inlinestaticprotectedinherited |
|
inline |
get the global number of the current DoF
|
inline |
check for inequality
[in] | other | DoF iterator to compare this one to |
|
inline |
obtain reference to current DoF
|
inline |
obtain reference to current DoF
|
inline |
increment the iterator
Lets the iterator point to the next DoF.
|
inline |
assign another DoF iterator to this one
[in] | other | DoF iterator to copy |
|
inline |
check for equality
[in] | other | DoF iterator to compare this one to |
|
inline |
|
inline |
|
inline |
reset iterator to the first position