Debian Codegraph @

packages/seacas/libraries/exodus/src/deprecated/ex_put_var_name.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 * expvnm - ex_put_var_name
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 var_num variable number name to write 1..num_var
17 * char* var_name ptr of variable name
18 *
19 * exit conditions -
20 *
21 * revision history -
22 *
23 *
24 *****************************************************************************/
25
26 #include "exodusII.h" // for ex_put_variable_name, etc
27
28 /*!
29 \ingroup ResultsData
30
31 * writes the name of a particular results variable to the database
32 * \param exoid exodus file id
33 * \param *var_type variable type: G,N, or E
34 * \param var_num variable number name to write 1..num_var
35 * \param *var_name ptr of variable name
36 * \deprecated use ex_put_variable_name()(exoid, obj_type, var_num, *var_name)
37 */
38
39 int ex_put_var_name(int exoid, const char *var_type, int var_num, const char *var_name)
40 {
41 ex_entity_type obj_type;
42 obj_type = ex_var_type_to_ex_entity_type(*var_type);
43 return ex_put_variable_name(exoid, obj_type, var_num, var_name);
44 }