Debian Codegraph @

packages/seacas/libraries/exodus/src/deprecated/ex_put_n_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 * expvar - ex_put_var
11 *
12 * entry conditions -
13 * input parameters:
14 * int exoid exodus file id
15 * int time_step time step number
16 * int var_type type (edge block, face block, edge set,
17 *... )
18 * int var_index element variable index
19 * int obj_id element block id
20 * int start_num starting index of the variables to be
21 *written
22 * int num_ent number of entities to write variables
23 *for.
24 *
25 * exit conditions -
26 *
27 *
28 * exit conditions -
29 *
30 * revision history -
31 *
32 *
33 *****************************************************************************/
34
35 #include "exodusII.h" // for ex_put_partial_var, etc
36
37 /*!
38 \ingroup ResultsData
39
40 * \deprecated use ex_put_partial_var()(exoid, time_step, var_type, var_index, obj_id, start_index,
41 num_entities, var_vals)
42 * writes the values of a single variable for a partial block at one time
43 * step to the database; assume the first time step and variable index
44 * are 1
45 * \param exoid exodus file id
46 * \param time_step time step number
47 * \param var_type type (edge block, face block, edge set, ... )
48 * \param var_index element variable index
49 * \param obj_id element block id
50 * \param start_index index of first entity in block to write (1-based)
51 * \param num_entities number of entries in this block/set
52 * \param var_vals the values to be written
53 */
54
55 int ex_put_n_var(int exoid, int time_step, ex_entity_type var_type, int var_index,
56 ex_entity_id obj_id, int64_t start_index, int64_t num_entities,
57 const void *var_vals)
58 {
59 return ex_put_partial_var(exoid, time_step, var_type, var_index, obj_id, start_index,
60 num_entities, var_vals);
61 }