ExodusII 4.96
expidm.c File Reference
#include "exodusII.h"
#include "exodusII_int.h"
#include <stdlib.h>
Include dependency graph for expidm.c:

Functions

int ex_put_id_map (int exoid, ex_entity_type map_type, const int *map)

Function Documentation

int ex_put_id_map ( int  exoid,
ex_entity_type  map_type,
const int *  map 
)

writes out the entity numbering map to the database; this allows the entity numbers to be non-contiguous. This map is used for mapping between local and global entity ids.

Parameters:
exoidexodus file id
map_type
mapelement numbering map array

References DIM_NUM_EDGE, DIM_NUM_ELEM, DIM_NUM_FACE, DIM_NUM_NODES, EX_BADPARAM, EX_EDGE_MAP, EX_ELEM_MAP, ex_err(), EX_FACE_MAP, EX_FATAL, EX_NODE_MAP, EX_NOERR, exerrval, MAX_ERR_LENGTH, VAR_EDGE_NUM_MAP, VAR_ELEM_NUM_MAP, VAR_FACE_NUM_MAP, and VAR_NODE_NUM_MAP.

Referenced by ex_put_elem_num_map(), and ex_put_node_num_map().