Debian Codegraph @

packages/seacas/libraries/exodus/src/deprecated/ex_put_elem_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 /* Function(s) contained in this file:
12 *
13 * ex_put_elem_var_slab()
14 *
15 *****************************************************************************
16 *
17 * Variable Index:
18 *
19 * exoid - The NetCDF ID of an already open NemesisI file.
20 * time_step - The time step to write this data to.
21 * elem_var_index - The index of this elemental variable.
22 * elem_blk_id - The ID of the element block being written to.
23 * start_pos - The start point for outputting data. The
24 * first value is 0.
25 * num_vals - The number of values to be output.
26 * elem_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 element variable for one element block,
35 * starting at start_pos, at one time step to the database; assume the
36 * first time step and element variable index are 1
37 */
38
39 /*!
40 * \deprecated Use ex_put_partial_var()(exoid, time_step, EX_ELEM_BLOCK, elem_var_index,
41 elem_blk_id, start_pos, num_vals, elem_var_vals)
42 */
43 int ex_put_elem_var_slab(int exoid, int time_step, int elem_var_index, ex_entity_id elem_blk_id,
44 int64_t start_pos, int64_t num_vals, void *elem_var_vals)
45 {
46 return ex_put_partial_var(exoid, time_step, EX_ELEM_BLOCK, elem_var_index, elem_blk_id, start_pos,
47 num_vals, elem_var_vals);
48 }