Debian Codegraph @

packages/seacas/libraries/exodus/src/deprecated/ex_get_nset_var.c

raw
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 * exgssv - ex_get_nset_var
11 *
12 * entry conditions -
13 * input parameters:
14 * int exoid exodus file id
15 * int time_step time step number
16 * int nset_var_index nodeset variable index
17 * int nset_blk_id nodeset id
18 * int num_node_this_nset number of nodes in this nodeset
19 *
20 *
21 * exit conditions -
22 * float* nset_var_vals array of nodeset variable values
23 *
24 *
25 * revision history -
26 *
27 *
28 *****************************************************************************/
29
30 #include "exodusII.h" // for ex_get_var, ex_entity_id, etc
31
32 /*!
33 * reads the values of a single nodeset variable for one nodeset at
34 * one time step in the database; assume the first time step and
35 * nodeset variable index is 1
36 * \deprecated Use ex_get_var()(exoid, time_step, EX_NODE_SET, nset_var_index,
37 * nset_id, num_node_this_nset, nset_var_vals) instead
38 */
39
40 int ex_get_nset_var(int exoid, int time_step, int nset_var_index, ex_entity_id nset_id,
41 int64_t num_node_this_nset, void *nset_var_vals)
42 {
43 return ex_get_var(exoid, time_step, EX_NODE_SET, nset_var_index, nset_id, num_node_this_nset,
44 nset_var_vals);
45 }