Exodus 8.24
|
#include "exodusII.h"
Functions | |
int | ex_get_concat_node_sets (int exoid, void_int *node_set_ids, void_int *num_nodes_per_set, void_int *num_df_per_set, void_int *node_sets_node_index, void_int *node_sets_df_index, void_int *node_sets_node_list, void *node_sets_dist_fact) |
int ex_get_concat_node_sets | ( | int | exoid, |
void_int * | node_set_ids, | ||
void_int * | num_nodes_per_set, | ||
void_int * | num_df_per_set, | ||
void_int * | node_sets_node_index, | ||
void_int * | node_sets_df_index, | ||
void_int * | node_sets_node_list, | ||
void * | node_sets_dist_fact ) |
The function ex_get_concat_node_sets() reads the node set ID's, node set node count array, node set distribution factors count array, node set node pointers array, node set distribution factors pointer array, node set node list, and node set distribution factors for all of the node sets. `‘Concatenated node sets’' refers to the arrays required to define all of the node sets (ID array, counts arrays, pointers arrays, node list array, and distribution factors array) as described in Section 3.10 on page 11.
Because the distribution factors are floating point values, the application code must declare the array passed to be the appropriate type (float or double) to match the compute word size passed in ex_create() or ex_open().
The length of each of the returned arrays can be determined by invoking ex_inquire() or ex_inquire_int().
[in] | exoid | exodus file ID returned from a previous call to ex_create() or ex_open(). |
[out] | node_set_ids | Returned array containing the node set ID for each set. |
[out] | num_nodes_per_set | Returned array containing the number of nodes for each set. |
[out] | num_df_per_set | Returned array containing the number of distribution factors for each set. |
[out] | node_sets_node_index | Returned array containing the indices into the node_set_node_list which are the locations of the first node for each set. These indices are 0-based. |
[out] | node_sets_df_index | Returned array containing the indices into the node_set_dist_fact which are the locations of the first distribution factor for each set. These indices are 0-based. |
[out] | node_sets_node_list | Returned array containing the nodes for all sets. Internal node IDs are used in this list (see Section LocalNodeIds). |
[out] | node_sets_dist_fact | Returned array containing the distribution factors for all sets. |
As an example, the following code segment will read concatenated node sets: