Debian Codegraph @

packages/seacas/libraries/exodus/src/deprecated/ex_put_nodal_var_slab.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 /*****************************************************************************/
11 /*****************************************************************************/
12 /* Function(s) contained in this file:
13 *
14 * ex_put_nodal_var_slab()
15 *
16 *****************************************************************************
17 *
18 * Variable Index:
19 *
20 * exoid - The NetCDF ID of an already open NemesisI file.
21 * time_step - The time step to write this data to.
22 * nodal_var_index - The index of this nodal variable.
23 * start_pos - The start point for outputting data. The first
24 * value is 0.
25 * num_vals - The number of values to be output.
26 * nodal_var_vals - Pointer to the vector of values to be output.
27 */
28 /*****************************************************************************/
29 /*****************************************************************************/
30 /*****************************************************************************/
31 #include "exodusII.h" // for ex_put_partial_var, etc
32
33 /*
34 * writes the values of a single nodal variable for a single time step to
35 * the database; assume the first time step and nodal variable index
36 * is 1
37 */
38
39 /*!
40 * \ingroup ResultsData
41 * \deprecated Use ex_put_partial_var()(exoid, time_step, EX_NODAL, nodal_var_index, 1, start_pos,
42 num_vals, nodal_var_vals) instead.
43 */
44 int ex_put_nodal_var_slab(int exoid, int time_step, int nodal_var_index, int64_t start_pos,
45 int64_t num_vals, void *nodal_var_vals)
46
47 {
48 return ex_put_partial_var(exoid, time_step, EX_NODAL, nodal_var_index, 1, start_pos, num_vals,
49 nodal_var_vals);
50 }