Debian Codegraph @

packages/seacas/libraries/exodus/src/deprecated/ex_put_partial_nodal_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 * expnv - ex_put_partial_nodal_var
11 *
12 * entry conditions -
13 * input parameters:
14 * int exoid exodus file id
15 * int time_step whole time step number
16 * int nodel_var_index index of desired nodal variable
17 * int start_node index (1-based) of first node to put
18 * int num_nodes number of nodal points
19 * float* nodal_var_vals array of nodal variable values
20 *
21 * exit conditions -
22 *
23 * revision history -
24 *
25 *
26 *****************************************************************************/
27
28 #include "exodusII.h" // for ex_put_partial_var, etc
29
30 /*!
31 \ingroup ResultsData
32
33 * \deprecated Use ex_put_partial_var()(exoid, time_step, EX_NODAL, nodal_var_index, 1, start_node,
34 num_nodes, nodal_var_vals)
35 *
36 * writes the values of a single nodal variable for a partial block at
37 * one single time step to the database; assume the first time step
38 * and nodal variable index is 1
39 * \param exoid exodus file id
40 * \param time_step whole time step number
41 * \param nodal_var_index index of desired nodal variable
42 * \param start_node index of first node to write data for (1-based)
43 * \param num_nodes number of nodal points
44 * \param nodal_var_vals array of nodal variable values
45 */
46
47 int ex_put_partial_nodal_var(int exoid, int time_step, int nodal_var_index, int64_t start_node,
48 int64_t num_nodes, const void *nodal_var_vals)
49
50 {
51 return ex_put_partial_var(exoid, time_step, EX_NODAL, nodal_var_index, 1, start_node, num_nodes,
52 nodal_var_vals);
53 }