Chombo + EB  3.2
Public Member Functions | Protected Attributes | List of all members
MomentIterator< D, P > Class Template Reference

iterates through the indices of a IndexedMoment More...

#include <MomentIterator.H>

Inheritance diagram for MomentIterator< D, P >:
Inheritance graph
[legend]

Public Member Functions

 MomentIterator ()
 
virtual ~MomentIterator ()
 
virtual void reset ()
 
virtual void operator++ ()
 
virtual const IndexTM< int, D > & operator() () const
 
virtual bool ok ()
 
virtual int size () const
 
- Public Member Functions inherited from BaseMomentIterator< D >
 BaseMomentIterator ()
 
virtual ~BaseMomentIterator ()
 

Protected Attributes

const Vector< IndexTM< int, D > > * m_indicies
 points to the (static) powers that live in IndexedMoments More...
 
int m_current
 

Detailed Description

template<int D, int P>
class MomentIterator< D, P >

iterates through the indices of a IndexedMoment

MomentIterator iterates through the multi-indices of a IndexedMoments.

Constructor & Destructor Documentation

template<int D, int P>
MomentIterator< D, P >::MomentIterator ( )
inline
template<int D, int P>
virtual MomentIterator< D, P >::~MomentIterator ( )
inlinevirtual

Member Function Documentation

template<int D, int P>
virtual void MomentIterator< D, P >::reset ( )
inlinevirtual
template<int D, int P>
virtual void MomentIterator< D, P >::operator++ ( )
inlinevirtual
template<int D, int P>
virtual const IndexTM<int, D>& MomentIterator< D, P >::operator() ( ) const
inlinevirtual

Returns the moment of the current multi-index of this MomentIterator.

Implements BaseMomentIterator< D >.

References MomentIterator< D, P >::m_current, and MomentIterator< D, P >::m_indicies.

template<int D, int P>
virtual bool MomentIterator< D, P >::ok ( )
inlinevirtual
template<int D, int P>
virtual int MomentIterator< D, P >::size ( ) const
inlinevirtual

Member Data Documentation

template<int D, int P>
const Vector<IndexTM<int,D> >* MomentIterator< D, P >::m_indicies
protected
template<int D, int P>
int MomentIterator< D, P >::m_current
protected

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