dune-fem
2.4.1-rc
|
interface for DoF iterators of discrete functions More...
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/function/common/dofiterator.hh>
Public Types | |
typedef DofImp | DofType |
type of the DoFs More... | |
typedef DofIteratorImp | DofIteratorType |
type of the implementation (Barton-Nackman) More... | |
Public Member Functions | |
DofIteratorType & | operator= (const DofIteratorType &other) |
assign another DoF iterator to this one More... | |
DofType & | operator* () |
obtain reference to current DoF More... | |
const DofType & | operator* () const |
obtain reference to current DoF More... | |
const DofImp & | operator[] (const int n) const |
DofImp & | operator[] (const int n) |
DofIteratorType & | operator++ () |
increment the iterator More... | |
bool | operator== (const DofIteratorType &other) const |
check for equality More... | |
bool | operator!= (const DofIteratorType &other) const |
check for inequality More... | |
int | index () const |
get the global number of the current DoF More... | |
void | reset () |
reset iterator to the first position More... | |
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
|
inlinestaticprotectedinherited |
|
inlinestaticprotectedinherited |
|
inlineprotectedinherited |
Referenced by Dune::Fem::DofIteratorInterface< ContainedDiscreteFunctionImp::DofType, CombinedDiscreteFunctionDofIterator< ContainedDiscreteFunctionImp, N > >::index(), Dune::Fem::DofIteratorDefault< ContainedDiscreteFunctionImp::DofType, CombinedDiscreteFunctionDofIterator< ContainedDiscreteFunctionImp, N > >::index(), Dune::Fem::DofIteratorInterface< ContainedDiscreteFunctionImp::DofType, CombinedDiscreteFunctionDofIterator< ContainedDiscreteFunctionImp, N > >::operator!=(), Dune::Fem::DofIteratorDefault< ContainedDiscreteFunctionImp::DofType, CombinedDiscreteFunctionDofIterator< ContainedDiscreteFunctionImp, N > >::operator!=(), Dune::Fem::DofIteratorInterface< ContainedDiscreteFunctionImp::DofType, CombinedDiscreteFunctionDofIterator< ContainedDiscreteFunctionImp, N > >::operator*(), Dune::Fem::DofIteratorInterface< ContainedDiscreteFunctionImp::DofType, CombinedDiscreteFunctionDofIterator< ContainedDiscreteFunctionImp, N > >::operator++(), Dune::Fem::DofIteratorInterface< ContainedDiscreteFunctionImp::DofType, CombinedDiscreteFunctionDofIterator< ContainedDiscreteFunctionImp, N > >::operator=(), Dune::Fem::DofIteratorInterface< ContainedDiscreteFunctionImp::DofType, CombinedDiscreteFunctionDofIterator< ContainedDiscreteFunctionImp, N > >::operator==(), Dune::Fem::DofIteratorInterface< ContainedDiscreteFunctionImp::DofType, CombinedDiscreteFunctionDofIterator< ContainedDiscreteFunctionImp, N > >::operator[](), Dune::Fem::DofIteratorDefault< ContainedDiscreteFunctionImp::DofType, CombinedDiscreteFunctionDofIterator< ContainedDiscreteFunctionImp, N > >::operator[](), and Dune::Fem::DofIteratorInterface< ContainedDiscreteFunctionImp::DofType, CombinedDiscreteFunctionDofIterator< ContainedDiscreteFunctionImp, N > >::reset().
|
inlineprotectedinherited |
|
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