Debian Codegraph @

packages/seacas/libraries/exodus/src/deprecated/ex_put_n_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 * expatt - ex_put_n_attr
11 *
12 * entry conditions -
13 * input parameters:
14 * int exoid exodus file id
15 * int blk_type block type
16 * int blk_id block id
17 * float* attrib array of attributes
18 *
19 * exit conditions -
20 *
21 * revision history -
22 *
23 *
24 *****************************************************************************/
25
26 #include "exodusII.h" // for ex_put_partial_attr, etc
27
28 /*!
29 * \deprecated use ex_put_partial_attr()(exoid, blk_type, blk_id, start_entity, num_entity, attrib)
30 *
31 * writes the attributes for an edge/face/element block
32 * \param exoid exodus file id
33 * \param blk_type block type
34 * \param blk_id block id
35 * \param start_entity the starting index (1-based) of the attribute to be written
36 * \param num_entity the number of entities to write attributes
37 * \param attrib array of attributes
38 */
39
40 int ex_put_n_attr(int exoid, ex_entity_type blk_type, ex_entity_id blk_id, int64_t start_entity,
41 int64_t num_entity, const void *attrib)
42 {
43 return ex_put_partial_attr(exoid, blk_type, blk_id, start_entity, num_entity, attrib);
44 }