MomentIterator< D, P > Class Template Reference

#include <MomentIterator.H>

Inheritance diagram for MomentIterator< D, P >:

Inheritance graph
[legend]

List of all members.


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.

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

Protected Attributes

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


Constructor & Destructor Documentation

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

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


Member Function Documentation

template<int D, int P>
virtual void MomentIterator< D, P >::reset (  )  [inline, virtual]

template<int D, int P>
virtual void MomentIterator< D, P >::operator++ (  )  [inline, virtual]

template<int D, int P>
virtual const IndexTM<int, D>& MomentIterator< D, P >::operator() (  )  const [inline, virtual]

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 (  )  [inline, virtual]

Returns true if this MomentIterator's location is within its IndexedMoment.

Implements BaseMomentIterator< D >.

References MomentIterator< D, P >::m_current, MomentIterator< D, P >::m_indicies, and Vector< T >::size().

Referenced by checkMoments().

template<int D, int P>
virtual int MomentIterator< D, P >::size (  )  const [inline, virtual]


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:

Generated on Fri Apr 5 04:25:11 2019 for Chombo + EB by  doxygen 1.5.5