![]() |
GeMA
The GeMA main application
|
Node set objects are used to store a set of mesh nodes. Their main use is to represent nodes in mesh borders, serving as application points for boundary conditions. Node set objects can be obtained in the orchestration from a mesh object by calling the mesh:
nodeSets()
method.
Example:
Index:
nodeSet:id() | |
---|---|
Description: | Returns the node set id. |
Parameters: | None. |
Returns: | Returns a string with the node set name. |
Example:
nodeSet:mesh() | |
---|---|
Description: | Returns the mesh object owning the nodes included in this node set. |
Parameters: | None. |
Returns: | Returns the associated mesh object. |
Example:
nodeSet:numNodes() | |
---|---|
Description: | Returns the number of nodes in this node set. |
Parameters: | None. |
Returns: | Returns the number of nodes in this node set. |
Example:
nodeSet:node(index) | |
---|---|
Description: | Returns the mesh node number given its index inside the node set. If the returned node is a ghost node, it will have its high bit set. |
Parameters: | index - The node set index (a value between 1 and nodeSet: numNodes() ). |
Returns: | Returns the mesh node number. |
Example:
nodeSet:setNodeData(nodes) | |
---|---|
Description: | Replaces the complete set of nodes of a node set object by the given ones. |
Parameters: | nodes - A table with the mesh index of the new nodes in the node set. Ghost nodes should have their high bit set. |
Returns: | Nothing. |
Example: