OOF2: The Manual

Name

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

Synopses

C++ Synopsis

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

Python Synopsis


from oof2.SWIG.engine.fieldindex import SymTensorIterator
    

class SymTensorIterator(SymTensorIndexFieldIterator):
   pass

  

Source Files

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

Description

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.