NodeSet
-
class NodeSet
Node set.
Represents a node set stored in/loaded from the ExodusII file
Public Functions
-
int get_id() const
Get node set ID.
- Returns:
Node set ID
-
const std::string &get_name() const
Get node set name.
- Returns:
Node set name
-
int get_size() const
Get the number of nodes in the set.
- Returns:
Node set size
-
int get_node_id(std::size_t idx) const
Get an ID of a node in the node set.
See also
- Parameters:
idx – Index of the node. Can be
0..<size of the node set>
.- Returns:
Node ID
-
const std::vector<int> &get_node_ids() const
Get node IDs contained in this node set.
- Returns:
Node IDs contained in this node set
-
void set_id(int id)
Set node set ID.
- Parameters:
id – Desired ID of the node set
-
void set_name(const std::string &name)
Set node set name.
- Parameters:
name – Desired name of the node set
-
void set_nodes(const std::vector<int> &nodes)
Set node set nodes.
- Parameters:
nodes – List of node IDs that will comprise the node set
-
int get_id() const