Debian Codegraph @

packages/seacas/libraries/exodus/src/deprecated/ex_get_partial_nodal_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 * exgnnv - ex_get_partial_nodal_var
11 *
12 * environment - UNIX
13 *
14 * entry conditions -
15 * input parameters:
16 * int exoid exodus file id
17 * int time_step whole time step number
18 * int nodeal_var_index index of desired nodal variable
19 * int start_node starting location for read
20 * int num_nodes number of nodal points
21 *
22 * exit conditions -
23 * float* var_vals array of nodal variable values
24 *
25 * revision history -
26 *
27 *
28 *****************************************************************************/
29
30 #include <exodusII.h> // for ex_get_partial_var, etc
31
32 /*!
33 \ingroup ResultsData
34
35 * \deprecated use ex_get_partial_var()(exoid, time_step, EX_NODAL, nodal_var_index, 1, start_node,
36 num_nodes, var_vals);
37
38 */
39
40 /*
41 * reads the values of a single nodal variable for a single time step from
42 * the database; assume the first time step and nodal variable index is 1
43 */
44
45 int ex_get_partial_nodal_var(int exoid, int time_step, int nodal_var_index, int64_t start_node,
46 int64_t num_nodes, void *var_vals)
47 {
48 return ex_get_partial_var(exoid, time_step, EX_NODAL, nodal_var_index, 1, start_node, num_nodes,
49 var_vals);
50 }