| 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 |
* exgeat - ex_get_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 |
* |
| 17 |
* exit conditions - |
| 18 |
* float* attrib array of attributes |
| 19 |
* |
| 20 |
* revision history - |
| 21 |
* |
| 22 |
* |
| 23 |
*****************************************************************************/ |
| 24 |
|
| 25 |
#include "exodusII.h" // for ex_get_one_attr, etc |
| 26 |
|
| 27 |
/*! |
| 28 |
* reads the attributes for an element block |
| 29 |
* \deprecated Use ex_get_one_attr()(exoid, EX_ELEM_BLOCK, elem_blk_id, |
| 30 |
* attrib_index, attrib) |
| 31 |
*/ |
| 32 |
int ex_get_one_elem_attr(int exoid, ex_entity_id elem_blk_id, int attrib_index, void *attrib) |
| 33 |
|
| 34 |
{ |
| 35 |
return ex_get_one_attr(exoid, EX_ELEM_BLOCK, elem_blk_id, attrib_index, attrib); |
| 36 |
} |