OOF2: The Manual
Name
VectorFlux — A vector-valued Flux
Synopses
C++ Synopsis
#include "engine/flux.h"
class VectorFlux: , public Flux {virtual FieldIndex* getIndex(const std::string& name) const;
}
Description
VectorFlux is a Flux whose value is a
three-vector, such as a heat current. Like all
Fluxes, it should only be constructed in
Python. See Section 8.3.
The FieldIndex class for VectorFlux
is VectorFieldIndex. The
Components class is VectorFieldComponents,
and the ComponentIterator is VectorFieldIterator.
Methods
Most of the VectorFlux methods are
inherited from and documented in its base class, Flux.
FieldIndex *getIndex(const std::string& name) const
VectorFlux::getIndex returns a pointer to a VectorFieldIndex.
The name argument can be
"x", "y", or
"z".



