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

Functions

int ex_put_num_map (int exoid, ex_entity_type map_type, int map_id, const int *map)

Function Documentation

int ex_put_num_map ( int  exoid,
ex_entity_type  map_type,
int  map_id,
const int *  map 
)

writes a map; this is a vector of integers of the same length as the number of entries in the source object (nodes, edges, faces, or elements in the file).

Parameters:
exoidexodus file id
map_typetype of map (node,edge,face,elem)
map_idid to associate with new map
mapmap set value array

References DIM_NUM_EDGE, DIM_NUM_EDM, DIM_NUM_ELEM, DIM_NUM_EM, DIM_NUM_FACE, DIM_NUM_FAM, DIM_NUM_NM, DIM_NUM_NODES, EX_BADPARAM, EX_EDGE_MAP, EX_ELEM_MAP, ex_err(), EX_FACE_MAP, EX_FATAL, ex_get_counter_list(), ex_get_file_item(), ex_id_lkup(), ex_inc_file_item(), EX_LOOKUPFAIL, EX_MSG, ex_name_of_object(), EX_NODE_MAP, EX_NOERR, exerrval, MAX_ERR_LENGTH, VAR_EDGE_MAP, VAR_EDM_PROP, VAR_ELEM_MAP, VAR_EM_PROP, VAR_FACE_MAP, VAR_FAM_PROP, VAR_NM_PROP, and VAR_NODE_MAP.

Referenced by ex_put_elem_map(), and ex_put_node_map().