Debian Codegraph @

packages/seacas/libraries/exodus/src/deprecated/ex_get_var_names.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 * exgvan - ex_get_var_names
11 *
12 * entry conditions -
13 * input parameters:
14 * int exoid exodus file id
15 * char* var_type variable type: G,N, or E
16 * int num_vars # of variables to read
17 *
18 * exit conditions -
19 * char* var_names ptr array of variable names
20 *
21 * revision history -
22 *
23 *
24 *****************************************************************************/
25
26 #include "exodusII.h" // for ex_get_variable_names, etc
27
28 /*!
29 \ingroup ResultsData
30
31 * reads the names of the results variables from the database
32 * \deprecated Use ex_get_variable_names()(exoid, obj_type, num_vars, var_names)
33 */
34
35 int ex_get_var_names(int exoid, const char *var_type, int num_vars, char *var_names[])
36 {
37 ex_entity_type obj_type;
38 obj_type = ex_var_type_to_ex_entity_type(*var_type);
39 return ex_get_variable_names(exoid, obj_type, num_vars, var_names);
40 }