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

◆ MomentIterator()

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

◆ ~MomentIterator()

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

Member Function Documentation

◆ reset()

template<int D, int P>
virtual void MomentIterator< D, P >::reset ( )
inlinevirtual

Implements BaseMomentIterator< D >.

Referenced by checkMoments().

◆ operator++()

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

◆ operator()()

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 >.

◆ ok()

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

◆ size()

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

Member Data Documentation

◆ m_indicies

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

points to the (static) powers that live in IndexedMoments

◆ m_current

template<int D, int P>
int MomentIterator< D, P >::m_current
protected

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