Debian Codegraph @

packages/seacas/libraries/exodus/src/deprecated/ex_put_one_elem_attr.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 * expoea - ex_put_one_elem_attr
11 *
12 * entry conditions -
13 * input parameters:
14 * int exoid exodus file id
15 * int elem_blk_id element block id
16 * int attrib_index index of attribute to write
17 * float* attrib array of attributes
18 *
19 * exit conditions -
20 *
21 * revision history -
22 * 20061003 - David Thompson - moved to ex_put_one_attr
23 *
24 *
25 *****************************************************************************/
26
27 #include "exodusII.h" // for ex_put_one_attr, etc
28
29 /*!
30 * writes the specified attribute for an element block
31 * \param exoid exodus file id
32 * \param elem_blk_id element block id
33 * \param attrib_index index of attribute to write
34 * \param attrib array of attributes
35 * \deprecated Use ex_put_one_attr()(exoid, EX_ELEM_BLOCK, elem_blk_id,
36 attrib_index, attrib)
37
38 */
39
40 int ex_put_one_elem_attr(int exoid, ex_entity_id elem_blk_id, int attrib_index, const void *attrib)
41 {
42 return ex_put_one_attr(exoid, EX_ELEM_BLOCK, elem_blk_id, attrib_index, attrib);
43 }