Debian Codegraph @

packages/seacas/libraries/exodus/src/deprecated/ex_put_sset_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 * expev - ex_put_sset_var
11 *
12 * entry conditions -
13 * input parameters:
14 * int exoid exodus file id
15 * int time_step time step number
16 * int sset_var_index sideset variable index
17 * int sset_id sideset id
18 * int num_faces_this_sset number of faces in this sideset
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 sideset variable for one sideset at
34 * one time step to the database; assume the first time step and
35 * sideset variable index are 1
36 * \param exoid exodus file id
37 * \param time_step time step number
38 * \param sset_var_index sideset variable index
39 * \param sset_id sideset id
40 * \param num_faces_this_sset number of faces in this sideset
41 * \param sset_var_vals the variable values to be written
42 * \deprecated Use ex_put_var()(exoid, time_step, EX_SIDE_SET, sset_var_index,
43 * sset_id, num_faces_this_sset, sset_var_vals)
44 */
45
46 int ex_put_sset_var(int exoid, int time_step, int sset_var_index, ex_entity_id sset_id,
47 int64_t num_faces_this_sset, const void *sset_var_vals)
48 {
49 return ex_put_var(exoid, time_step, EX_SIDE_SET, sset_var_index, sset_id, num_faces_this_sset,
50 sset_var_vals);
51 }