| 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 |
/* Function(s) contained in this file: |
| 11 |
* |
| 12 |
* ex_put_partial_elem_attr() |
| 13 |
* |
| 14 |
***************************************************************************** |
| 15 |
* |
| 16 |
* Variable Index: |
| 17 |
* |
| 18 |
* exoid - The NetCDF ID of an already open NemesisI file. |
| 19 |
* elem_blk_id - The element block ID. |
| 20 |
* start_elem_num - The starting index of the elements to be |
| 21 |
* obtained. |
| 22 |
* num_elems - The number of FEM elements to read coords for. |
| 23 |
* attrib - Pointer to the attribute vector. |
| 24 |
* |
| 25 |
*/ |
| 26 |
/*****************************************************************************/ |
| 27 |
/*****************************************************************************/ |
| 28 |
/*****************************************************************************/ |
| 29 |
#include "exodusII.h" // for ex_put_partial_attr, etc |
| 30 |
|
| 31 |
/*! |
| 32 |
* \deprecated Use ex_put_partial_attr()(exoid, EX_ELEM_BLOCK, elem_blk_id, start_elem_num, |
| 33 |
* num_elems, attrib) instead. |
| 34 |
*/ |
| 35 |
|
| 36 |
/* |
| 37 |
* writes the attributes for an element block |
| 38 |
*/ |
| 39 |
|
| 40 |
int ex_put_partial_elem_attr(int exoid, ex_entity_id elem_blk_id, int64_t start_elem_num, |
| 41 |
int64_t num_elems, void *attrib) |
| 42 |
{ |
| 43 |
return ex_put_partial_attr(exoid, EX_ELEM_BLOCK, elem_blk_id, start_elem_num, num_elems, attrib); |
| 44 |
} |