![]() |
GemaCoreLib
The GeMA Core library
|
A GmNodeTaskDataSet implementation with strided access. More...


Public Member Functions | |
| GmStrideNodeTaskDataSet (int size, int offset, int stride) | |
| Constructor. Gets the indices of the first and last nodes returned by this set. | |
| virtual int | nextNode () |
| Returns the next node in the set. Returns -1 when there are no more nodes to treat. Depending on the configuration used to create the set (GmAffectedNodes value), ghost nodes will be represented by their "linear" index (set returns both geometry and ghost nodes) or by their "local" zero based index (set returns ghost nodes only). | |
| virtual void | reset () |
| Resets the data set iterator so that the next call to nextNode will return the first node in the set. | |
Public Member Functions inherited from GmNodeTaskDataSet | |
| virtual | ~GmNodeTaskDataSet () |
| Virtual destructor. | |
Private Attributes | |
| int | _offset |
| The initial offset for this set. | |
| int | _size |
| The size of the data set. | |
| int | _next |
| The index of the node that will be returned by the next call to nextNode() | |
| int | _stride |
| The stride used as increment. | |
A GmNodeTaskDataSet implementation with strided access.
|
inlinevirtual |
Returns the next node in the set. Returns -1 when there are no more nodes to treat. Depending on the configuration used to create the set (GmAffectedNodes value), ghost nodes will be represented by their "linear" index (set returns both geometry and ghost nodes) or by their "local" zero based index (set returns ghost nodes only).
Implements GmNodeTaskDataSet.
|
inlinevirtual |
Resets the data set iterator so that the next call to nextNode will return the first node in the set.
Implements GmNodeTaskDataSet.