| 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 |
#include "exodusII.h" // for ex_get_partial_attr, etc |
| 10 |
|
| 11 |
/*! |
| 12 |
* \deprecated Use ex_get_partial_attr()(exoid, obj_type, obj_id, start_num, num_ent, attrib) |
| 13 |
* instead reads the specified attribute for a subsect of a block \param exoid exodus |
| 14 |
* file id \param obj_type object type (edge, face, elem block) \param obj_id |
| 15 |
* object id (edge, face, elem block ID) \param start_num the starting index of the |
| 16 |
* attributes to be returned. \param num_ent the number of entities to read attributes |
| 17 |
* for. \param attrib array of attributes |
| 18 |
*/ |
| 19 |
/* |
| 20 |
*/ |
| 21 |
int ex_get_n_attr(int exoid, ex_entity_type obj_type, ex_entity_id obj_id, int64_t start_num, |
| 22 |
int64_t num_ent, void *attrib) |
| 23 |
|
| 24 |
{ |
| 25 |
return ex_get_partial_attr(exoid, obj_type, obj_id, start_num, num_ent, attrib); |
| 26 |
} |