OOF2: The Manual
Name
ElementFuncNodeIterator — Iterate over function nodes in an Element
Synopses
C++ Synopsis
#include "engine/elementnodeiterator.h"
class ElementFuncNodeIterator: , public ElementShapeFuncIterator {FuncNode* funcnode() const;
}
Python Synopsis
from oof2.SWIG.engine import elementnodeiterator
class ElementFuncNodeIterator(ElementShapeFuncIterator):def funcnode(self)
Description
An ElementFuncNodeIterator
loops over
the Nodes
of an Element
that are used to store Field
values and whose shape functions are used for functional
interpolation within the Element
.
ElementFuncNodeIterators
should not be
created explicitly. Call Element::funcnode_iterator()
instead.
Methods
Most of the ElementFuncNodeIterator
methods are described in its base classes' documentation,
ElementShapeFuncIterator
and ElementNodeIterator
.
FuncNode *funcnode() const
funcnode
returns a pointer to the
FuncNode
that the iterator is currently referring to. The only
difference between
ElementFuncNodeIterator::funcnode
and the base class function, ElementNodeIterator::node
,
is in the return type. Both calls return the same object,
but funcnode
returns a pointer to
the derived class, FuncNode
while node
returns a pointer to the
base class, Node
.