dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
Dune::Fem::ConstDofIteratorDefault< DofIteratorImp > Class Template Reference

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

Inheritance diagram for Dune::Fem::ConstDofIteratorDefault< DofIteratorImp >:
Inheritance graph

Public Types

typedef DofIteratorImp WrappedDofIteratorType
 type of the wrapped DoF iterator
 
typedef WrappedDofIteratorType::DofType DofType
 type of the DoFs
 
typedef ConstDofIteratorDefault< WrappedDofIteratorTypeThisType
 
typedef DofIteratorDefault< DofType, ThisTypeBaseType
 
typedef DofIteratorImp DofIteratorType
 type of the implementation (Barton-Nackman)
 

Public Member Functions

 ConstDofIteratorDefault (const WrappedDofIteratorType &it)
 
 ConstDofIteratorDefault (const ThisType &other)
 
const ThisTypeoperator= (const ThisType &other)
 assign another DoF iterator to this one
 
const DofTypeoperator* () const
 obtain reference to current DoF
 
const DofTypeoperator[] (const int n) const
 
int index () const
 get the global number of the current DoF
 
ThisTypeoperator++ ()
 increment the iterator
 
bool operator== (const ThisType &other) const
 check for equality
 
bool operator!= (const ThisType &other) const
 check for inequality
 
void reset ()
 reset iterator to the first position
 
const DofTypevector () const
 
DofTypeoperator[] (const int n)
 
bool operator!= (const DofIteratorType &other) const
 
DofTypeoperator* ()
 obtain reference to current DoF
 
bool operator== (const DofIteratorType &other) const
 check for equality
 

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)
 

Protected Attributes

WrappedDofIteratorType it_
 

Member Typedef Documentation

◆ BaseType

template<class DofIteratorImp >
typedef DofIteratorDefault< DofType, ThisType > Dune::Fem::ConstDofIteratorDefault< DofIteratorImp >::BaseType

◆ DofIteratorType

typedef DofIteratorImp Dune::Fem::DofIteratorDefault< DofIteratorImp ::DofType , DofIteratorImp >::DofIteratorType
inherited

type of the implementation (Barton-Nackman)

◆ DofType

template<class DofIteratorImp >
typedef WrappedDofIteratorType::DofType Dune::Fem::ConstDofIteratorDefault< DofIteratorImp >::DofType

type of the DoFs

◆ ThisType

template<class DofIteratorImp >
typedef ConstDofIteratorDefault< WrappedDofIteratorType > Dune::Fem::ConstDofIteratorDefault< DofIteratorImp >::ThisType

◆ WrappedDofIteratorType

template<class DofIteratorImp >
typedef DofIteratorImp Dune::Fem::ConstDofIteratorDefault< DofIteratorImp >::WrappedDofIteratorType

type of the wrapped DoF iterator

Constructor & Destructor Documentation

◆ ConstDofIteratorDefault() [1/2]

template<class DofIteratorImp >
Dune::Fem::ConstDofIteratorDefault< DofIteratorImp >::ConstDofIteratorDefault ( const WrappedDofIteratorType it)
inline

◆ ConstDofIteratorDefault() [2/2]

template<class DofIteratorImp >
Dune::Fem::ConstDofIteratorDefault< DofIteratorImp >::ConstDofIteratorDefault ( const ThisType other)
inline

Member Function Documentation

◆ asImp() [1/4]

DofIteratorImp & Dune::Fem::BartonNackmanInterface< DofIteratorInterface< DofImp, DofIteratorImp > , DofIteratorImp >::asImp ( )
inlineprotectedinherited

◆ asImp() [2/4]

const DofIteratorImp & Dune::Fem::BartonNackmanInterface< DofIteratorInterface< DofImp, DofIteratorImp > , DofIteratorImp >::asImp ( ) const
inlineprotectedinherited

◆ asImp() [3/4]

static const DofIteratorImp & Dune::Fem::BartonNackmanInterface< DofIteratorInterface< DofImp, DofIteratorImp > , DofIteratorImp >::asImp ( const ThisType other)
inlinestaticprotectedinherited

◆ asImp() [4/4]

static DofIteratorImp & Dune::Fem::BartonNackmanInterface< DofIteratorInterface< DofImp, DofIteratorImp > , DofIteratorImp >::asImp ( ThisType other)
inlinestaticprotectedinherited

◆ index()

template<class DofIteratorImp >
int Dune::Fem::ConstDofIteratorDefault< DofIteratorImp >::index ( ) const
inline

get the global number of the current DoF

Returns
global number of the current DoF

◆ operator!=() [1/2]

bool Dune::Fem::DofIteratorDefault< DofIteratorImp ::DofType , DofIteratorImp >::operator!= ( const DofIteratorType other) const
inlineinherited

◆ operator!=() [2/2]

template<class DofIteratorImp >
bool Dune::Fem::ConstDofIteratorDefault< DofIteratorImp >::operator!= ( const ThisType other) const
inline

check for inequality

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

◆ 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 DofIteratorImp >
const DofType & Dune::Fem::ConstDofIteratorDefault< DofIteratorImp >::operator* ( ) const
inline

obtain reference to current DoF

Returns
a constant reference to the current DoF

◆ operator++()

template<class DofIteratorImp >
ThisType & Dune::Fem::ConstDofIteratorDefault< DofIteratorImp >::operator++ ( )
inline

increment the iterator

Lets the iterator point to the next DoF.

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

◆ operator=()

template<class DofIteratorImp >
const ThisType & Dune::Fem::ConstDofIteratorDefault< DofIteratorImp >::operator= ( const ThisType other)
inline

assign another DoF iterator to this one

Parameters
[in]otherDoF iterator to copy

◆ operator==() [1/2]

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

◆ operator==() [2/2]

template<class DofIteratorImp >
bool Dune::Fem::ConstDofIteratorDefault< DofIteratorImp >::operator== ( const ThisType other) const
inline

check for equality

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

◆ operator[]() [1/2]

DofType & Dune::Fem::DofIteratorDefault< DofIteratorImp ::DofType , DofIteratorImp >::operator[] ( const int  n)
inlineinherited

◆ operator[]() [2/2]

template<class DofIteratorImp >
const DofType & Dune::Fem::ConstDofIteratorDefault< DofIteratorImp >::operator[] ( const int  n) const
inline

◆ reset()

template<class DofIteratorImp >
void Dune::Fem::ConstDofIteratorDefault< DofIteratorImp >::reset ( )
inline

reset iterator to the first position

◆ vector()

template<class DofIteratorImp >
const DofType * Dune::Fem::ConstDofIteratorDefault< DofIteratorImp >::vector ( ) const
inline

Member Data Documentation

◆ it_

template<class DofIteratorImp >
WrappedDofIteratorType Dune::Fem::ConstDofIteratorDefault< DofIteratorImp >::it_
protected

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