GemaCoreLib
The GeMA Core library
Loading...
Searching...
No Matches
GmGenericNodeSet Class Reference
Inheritance diagram for GmGenericNodeSet:
Collaboration diagram for GmGenericNodeSet:

Public Member Functions

 GmGenericNodeSet (const GmCellGroupSet *subset)
 Constructor from cell group set.
 
virtual QString id () const
 Returns the set name.
 
virtual GmMeshmesh () const
 Returns the mesh that this set is tied to.
 
virtual int numNodes () const
 Returns the number of nodes stored in this set.
 
virtual int node (int i) const
 Returns the node id of the i'th entry stored in this set.
 
virtual size_t usedMemory () const
 Returns an estimative of the memory used by the node set in bytes.
 
- Public Member Functions inherited from GmNodeSet
virtual ~GmNodeSet ()
 Virtual destructor.
 
virtual bool setNodeData (int numNodes, int *nodeList)
 Updates the node list in the set object.
 

Private Attributes

GmMesh_mesh
 The wrapped mesh.
 
int _numNodes
 The number of nodes in the subset.
 
int * _nodeList
 The list of node ids in the subset.
 

Member Function Documentation

◆ id()

virtual QString GmGenericNodeSet::id ( ) const
inlinevirtual

Returns the set name.

Implements GmNodeSet.

◆ mesh()

virtual GmMesh * GmGenericNodeSet::mesh ( ) const
inlinevirtual

Returns the mesh that this set is tied to.

Implements GmNodeSet.

◆ node()

virtual int GmGenericNodeSet::node ( int i) const
inlinevirtual

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.

Implements GmNodeSet.

◆ numNodes()

virtual int GmGenericNodeSet::numNodes ( ) const
inlinevirtual

Returns the number of nodes stored in this set.

Implements GmNodeSet.

◆ usedMemory()

virtual size_t GmGenericNodeSet::usedMemory ( ) const
inlinevirtual

Returns an estimative of the memory used by the node set in bytes.

Implements GmNodeSet.


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