OOF2: The Manual


SymTensorIterator — Iterate over the components of a symmetric 3×3 tensor


C++ Synopsis

#include "engine/fieldindex.h"
class SymTensorIterator: , public SymTensorIndex, public FieldIterator {

Python Synopsis

from oof2.SWIG.engine.fieldindex import SymTensorIterator

class SymTensorIterator(SymTensorIndexFieldIterator):


Source Files

  • SRC/engine/fieldindex.h: C++ header
  • SRC/engine/fieldindex.C: C++ source code
  • SRC/engine/fieldindex.swg: SWIG source code


SymTensorIterator is a FieldIterator that loops over the elements of a symmetric 3×3 tensor in Voigt order. As with all OOF2 FieldIterators, SymTensorIterator is often used when wrapped in an IteratorP. All of the available member functions are described in the IteratorP wrapper or the SymTensorIndex documentation.