OOF2: The Manual
Name
FieldIterator — Base class for FieldIndexes that loop over components
Synopses
C++ Synopsis
#include "engine/fieldindex.h"class FieldIterator: , virtual public FieldIndex {virtual void operator++();
virtual bool end() const;
virtual FieldIterator* cloneIterator() const;
}
Python Synopsis
from oof2.SWIG.engine.fieldindex import FieldIteratorclass FieldIterator(FieldIndex):def next(self)
def end(self)
def cloneIterator(self)
Description
FieldIterator
is the abstract base
class for classes which loop over the components of
multi-dimensional Fields
,
Fluxes
,
and Equations
.
The different subclasses refer to components of
scalars,[56]
vectors, and tensors.
Methods
Methods which are defined in the FieldIndex
base class are not listed here. The functions that are
listed here are fully described in the IteratorP
class, which is used as a wrapper for
FieldIterator
.
virtual void operator++(), next()
See IteratorP::operator++
.
operator++
is for C++;
next
is for Python.