| 1 |
/* |
| 2 |
* Copyright(C) 1999-2020 National Technology & Engineering Solutions |
| 3 |
* of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with |
| 4 |
* NTESS, the U.S. Government retains certain rights in this software. |
| 5 |
* |
| 6 |
* See packages/seacas/LICENSE for details |
| 7 |
*/ |
| 8 |
/*****************************************************************************/ |
| 9 |
/*****************************************************************************/ |
| 10 |
/* Function(s) contained in this file: |
| 11 |
* |
| 12 |
* ex_get_n_node_set() |
| 13 |
* |
| 14 |
***************************************************************************** |
| 15 |
* |
| 16 |
* Variable Index: |
| 17 |
* |
| 18 |
* exoid - The NetCDF ID of an already open NemesisI file. |
| 19 |
* node_set_id - ID of node set to read. |
| 20 |
* start_node_num - The starting index of the nodes to be read. |
| 21 |
* num_nodes - The number of nodes to read in. |
| 22 |
* node_set_node_list - List of node IDs in node set. |
| 23 |
*/ |
| 24 |
/*****************************************************************************/ |
| 25 |
/*****************************************************************************/ |
| 26 |
/*****************************************************************************/ |
| 27 |
|
| 28 |
#include "exodusII.h" // for ex_get_partial_set, etc |
| 29 |
|
| 30 |
/*! |
| 31 |
* \deprecated Use ex_get_partial_set()(exoid, EX_NODE_SET, node_set_id, start_node_num, num_nodes, |
| 32 |
node_set_node_list, NULL) instead |
| 33 |
*/ |
| 34 |
|
| 35 |
int ex_get_n_node_set(int exoid, ex_entity_id node_set_id, int64_t start_node_num, |
| 36 |
int64_t num_nodes, void_int *node_set_node_list) |
| 37 |
{ |
| 38 |
return ex_get_partial_set(exoid, EX_NODE_SET, node_set_id, start_node_num, num_nodes, |
| 39 |
node_set_node_list, NULL); |
| 40 |
} |