GemaCoreLib
The GeMA Core library
Loading...
Searching...
No Matches
GmNodeTaskDataSet Class Referenceabstract

Base class for accessing the set of nodes belonging to a mesh partition. More...

#include <gmTaskManager.h>

Inheritance diagram for GmNodeTaskDataSet:

Public Member Functions

virtual ~GmNodeTaskDataSet ()
 Virtual destructor.
 
virtual int nextNode ()=0
 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 ()=0
 Resets the data set iterator so that the next call to nextNode will return the first node in the set.
 

Detailed Description

Base class for accessing the set of nodes belonging to a mesh partition.

Member Function Documentation

◆ nextNode()

virtual int GmNodeTaskDataSet::nextNode ( )
pure virtual

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).

Implemented in GmSeqBlockNodeSetTaskDataSet, GmSeqBlockNodeTaskDataSet, and GmStrideNodeTaskDataSet.

◆ reset()

virtual void GmNodeTaskDataSet::reset ( )
pure virtual

Resets the data set iterator so that the next call to nextNode will return the first node in the set.

Implemented in GmSeqBlockNodeSetTaskDataSet, GmSeqBlockNodeTaskDataSet, and GmStrideNodeTaskDataSet.


The documentation for this class was generated from the following file: