Debian Codegraph @

packages/seacas/libraries/exodus/src/deprecated/ex_put_nset_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 * expmv - ex_put_nset_var
11 *
12 * entry conditions -
13 * input parameters:
14 * int exoid exodus file id
15 * int time_step time step number
16 * int nset_var_index nodeset variable index
17 * int nset_id nodeset id
18 * int num_nodes_this_nset number of nodes in this nodeset
19 *
20 * exit conditions -
21 *
22 *
23 * exit conditions -
24 *
25 * revision history -
26 *
27 *
28 *****************************************************************************/
29
30 #include "exodusII.h" // for ex_put_var, ex_entity_id, etc
31
32 /*!
33 * writes the values of a single nodeset variable for one nodeset at
34 * one time step to the database; assume the first time step and
35 * nodeset variable index are 1
36 * \param exoid exodus file id
37 * \param time_step time step number
38 * \param nset_var_index nodeset variable index
39 * \param nset_id nodeset id
40 * \param num_nodes_this_nset number of nodes in this nodeset
41 * \param nset_var_vals the values to be written
42 * \deprecated Use ex_put_var()(exoid, time_step, EX_NODE_SET, nset_var_index,
43 nset_id, num_nodes_this_nset, nset_var_vals)
44
45 */
46
47 int ex_put_nset_var(int exoid, int time_step, int nset_var_index, ex_entity_id nset_id,
48 int64_t num_nodes_this_nset, const void *nset_var_vals)
49 {
50 return ex_put_var(exoid, time_step, EX_NODE_SET, nset_var_index, nset_id, num_nodes_this_nset,
51 nset_var_vals);
52 }