| 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_n_one_attr |
| 11 |
* |
| 12 |
* entry conditions - |
| 13 |
* input parameters: |
| 14 |
* int exoid exodus file id |
| 15 |
* int obj_type object type (edge, face, elem block) |
| 16 |
* int obj_id object id (edge, face, elem block ID) |
| 17 |
* int attrib_index index of attribute to write |
| 18 |
* float* attrib array of attributes |
| 19 |
* |
| 20 |
* exit conditions - |
| 21 |
* |
| 22 |
* |
| 23 |
*****************************************************************************/ |
| 24 |
|
| 25 |
#include "exodusII.h" // for ex_put_partial_one_attr, etc |
| 26 |
|
| 27 |
/*! |
| 28 |
* \deprecated Use ex_put_partial_one_attr()(exoid, obj_type, obj_id, start_num, num_ent, |
| 29 |
* attrib_index, attrib) writes the specified attribute for a block \param exoid exodus |
| 30 |
* file id \param obj_type object type (edge, face, elem block) \param obj_id |
| 31 |
* object id (edge, face, elem block ID) \param start_num the starting index of the |
| 32 |
* attributes to be written \param num_ent the number of entities to write attributes |
| 33 |
* for. \param attrib_index index of attribute to write \param attrib array of |
| 34 |
* attributes |
| 35 |
*/ |
| 36 |
|
| 37 |
int ex_put_n_one_attr(int exoid, ex_entity_type obj_type, ex_entity_id obj_id, int64_t start_num, |
| 38 |
int64_t num_ent, int attrib_index, const void *attrib) |
| 39 |
{ |
| 40 |
return ex_put_partial_one_attr(exoid, obj_type, obj_id, start_num, num_ent, attrib_index, attrib); |
| 41 |
} |