![]() |
GemaCoreLib
The GeMA Core library
|
This class stores a set of nodes belonging to a mesh. The nodes can belong to the mesh boundary but that is not necessary. More...
#include <gmNodeSet.h>
Public Member Functions | |
virtual | ~GmNodeSet () |
Virtual destructor. | |
virtual QString | id () const =0 |
Returns the set name. | |
virtual GmMesh * | mesh () const =0 |
Returns the mesh that this set is tied to. | |
virtual int | numNodes () const =0 |
Returns the number of nodes stored in this set. | |
virtual int | node (int i) const =0 |
Returns the node id of the i'th entry stored in this set. More... | |
virtual bool | setNodeData (int numNodes, int *nodeList) |
Updates the node list in the set object. More... | |
virtual size_t | usedMemory () const =0 |
Returns an estimative of the memory used by the node set in bytes. | |
This class stores a set of nodes belonging to a mesh. The nodes can belong to the mesh boundary but that is not necessary.
|
pure virtual |
Returns the node id of the i'th entry stored in this set.
If the node is a ghost node, it will have its 'ghost bit' set.
Implemented in BcNodeSet, and GmMeshNodeSet.
|
inlinevirtual |
Updates the node list in the set object.
If this operation is not supported by a mesh implementation, this function should return false. The object takes ownership of the supplied vector (unless the function returns false). If the concrete representation will not use the supplied vector internally, it should delete the given data.