Debian Codegraph @

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

raw
1 /*
2 * Copyright(C) 1999-2020, 2024 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 * expvp - ex_put_var_param
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 number of variables in database
17 *
18 * exit conditions -
19 *
20 * revision history -
21 *
22 *
23 *****************************************************************************/
24
25 #include "exodusII.h" // for ex_put_variable_param, etc
26
27 /*!
28 \ingroup ResultsData
29
30 * writes the number and names of global, nodal, or element variables
31 * that will be written to the database
32 * \param exoid exodus file id
33 * \param var_type variable type G,N, or E
34 * \param num_vars number of variables in database
35 * \deprecated Use ex_put_variable_param()(exoid, obj_type, num_vars)
36 */
37
38 int ex_put_var_param(int exoid, const char *var_type, int num_vars)
39 {
40 ex_entity_type obj_type;
41 obj_type = ex_var_type_to_ex_entity_type(*var_type);
42 return ex_put_variable_param(exoid, obj_type, num_vars);
43 }