Debian Codegraph @

packages/seacas/libraries/exodus/src/deprecated/ex_get_sset_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_sset_var
11 *
12 * entry conditions -
13 * input parameters:
14 * int exoid exodus file id
15 * int time_step time step number
16 * int sset_var_index sideset variable index
17 * int sset_blk_id sideset id
18 * int num_side_this_sset number of sides in this sideset
19 *
20 *
21 * exit conditions -
22 * float* sset_var_vals array of sideset 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 sideset variable for one sideset at
34 * one time step in the database; assume the first time step and
35 * sideset variable index is 1
36 * \deprecated Use ex_get_var()(exoid, time_step, EX_SIDE_SET, sset_var_index,
37 * sset_id, num_side_this_sset, sset_var_vals) instead
38 */
39
40 int ex_get_sset_var(int exoid, int time_step, int sset_var_index, ex_entity_id sset_id,
41 int64_t num_side_this_sset, void *sset_var_vals)
42 {
43 return ex_get_var(exoid, time_step, EX_SIDE_SET, sset_var_index, sset_id, num_side_this_sset,
44 sset_var_vals);
45 }