|
Exodus 8.24
|
#include "exodusII.h"Functions | |
| int | ex_get_elem_num_map (int exoid, void_int *elem_map) |
| int ex_get_elem_num_map | ( | int | exoid, |
| void_int * | elem_map ) |
The function ex_get_elem_num_map() reads the optional element number map from the database. See Section LocalElementIds for a description of the element number map. If an element number map is not stored in the data file, a default array (1,2,3,. .. num_elem) is returned. Memory must be allocated for the element number map array ({num_elem} in length) before this call is made.
| [in] | exoid | exodus file ID returned from a previous call to ex_create() or ex_open(). |
| [out] | elem_map | Returned element number map. |
The following code will read an element number map from an open exodus file :