Exodus 7.22

Data Structures | Macros | Typedefs | Enumerations | Functions | Variables
Internal Functions and Defines

## Data Structures
struct | ex__file_item
struct | ex__elem_blk_parm
struct | ex__list_item
struct | ex__obj_stats

## Macros
#define | MAX_VAR_NAME_LENGTH 32
#define | EXODUS_DEFAULT_SIZE 1
#define | EX_FILE_ID_MASK (0xffff0000)
#define | EX_GRP_ID_MASK (0x0000ffff)
#define | EX_FUNC_ENTER()
#define | EX_FUNC_ENTER_INT()
#define | EX_FUNC_LEAVE(error) return error
#define | EX_FUNC_VOID() return
#define | EX_UNUSED(A)
#define | ATT_TITLE "title"
#define | ATT_API_VERSION "api_version"
#define | ATT_API_VERSION_BLANK "api version"
#define | ATT_VERSION "version"
#define | ATT_FILESIZE "file_size"
#define | ATT_FLT_WORDSIZE "floating_point_word_size"
#define | ATT_FLT_WORDSIZE_BLANK "floating point word size"
#define | ATT_MAX_NAME_LENGTH "maximum_name_length"
#define | ATT_INT64_STATUS "int64_status"
#define | DIM_NUM_NODES "num_nodes"
#define | DIM_NUM_DIM "num_dim"
#define | DIM_NUM_EDGE "num_edge"
#define | DIM_NUM_FACE "num_face"
#define | DIM_NUM_ELEM "num_elem"
#define | DIM_NUM_EL_BLK "num_el_blk"
#define | DIM_NUM_ED_BLK "num_ed_blk"
#define | DIM_NUM_FA_BLK "num_fa_blk"
#define | VAR_COORD "coord"
#define | VAR_COORD_X "coordx"
#define | VAR_COORD_Y "coordy"
#define | VAR_COORD_Z "coordz"
#define | VAR_NAME_COOR "coor_names"
#define | VAR_NAME_EL_BLK "eb_names"
#define | VAR_NAME_NS "ns_names"
#define | VAR_NAME_SS "ss_names"
#define | VAR_NAME_EM "emap_names"
#define | VAR_NAME_EDM "edmap_names"
#define | VAR_NAME_FAM "famap_names"
#define | VAR_NAME_NM "nmap_names"
#define | VAR_NAME_ED_BLK "ed_names"
#define | VAR_NAME_FA_BLK "fa_names"
#define | VAR_NAME_ES "es_names"
#define | VAR_NAME_FS "fs_names"
#define | VAR_NAME_ELS "els_names"
#define | VAR_STAT_EL_BLK "eb_status"
#define | VAR_STAT_ECONN "econn_status"
#define | VAR_STAT_FCONN "fconn_status"
#define | VAR_STAT_ED_BLK "ed_status"
#define | VAR_STAT_FA_BLK "fa_status"
#define | VAR_ID_EL_BLK "eb_prop1"
#define | VAR_ID_ED_BLK "ed_prop1"
#define | VAR_ID_FA_BLK "fa_prop1"
#define | ATT_NAME_ELB "elem_type"
#define | DIM_NUM_EL_IN_BLK(num) ex__catstr("num_el_in_blk", num)
#define | DIM_NUM_NOD_PER_EL(num) ex__catstr("num_nod_per_el", num)
#define | DIM_NUM_ATT_IN_BLK(num) ex__catstr("num_att_in_blk", num)
#define | DIM_NUM_ED_IN_EBLK(num) ex__catstr("num_ed_in_blk", num)
#define | DIM_NUM_NOD_PER_ED(num) ex__catstr("num_nod_per_ed", num)
#define | DIM_NUM_EDG_PER_EL(num) ex__catstr("num_edg_per_el", num)
#define | DIM_NUM_ATT_IN_EBLK(num) ex__catstr("num_att_in_eblk", num)
#define | DIM_NUM_FA_IN_FBLK(num) ex__catstr("num_fa_in_blk", num)
#define | DIM_NUM_NOD_PER_FA(num) ex__catstr("num_nod_per_fa", num)
#define | DIM_NUM_FAC_PER_EL(num) ex__catstr("num_fac_per_el", num)
#define | DIM_NUM_ATT_IN_FBLK(num) ex__catstr("num_att_in_fblk", num)
#define | VAR_CONN(num) ex__catstr("connect", num)
#define | VAR_EBEPEC(num) ex__catstr("ebepecnt", num)
#define | VAR_ATTRIB(num) ex__catstr("attrib", num)
#define | VAR_NAME_ATTRIB(num) ex__catstr("attrib_name", num)
#define | VAR_EB_PROP(num) ex__catstr("eb_prop", num)
#define | VAR_ECONN(num) ex__catstr("edgconn", num)
#define | VAR_EBCONN(num) ex__catstr("ebconn", num)
#define | VAR_EATTRIB(num) ex__catstr("eattrb", num)
#define | VAR_NAME_EATTRIB(num) ex__catstr("eattrib_name", num)
#define | VAR_NATTRIB "nattrb"
#define | VAR_NAME_NATTRIB "nattrib_name"
#define | DIM_NUM_ATT_IN_NBLK "num_att_in_nblk"
#define | VAR_NSATTRIB(num) ex__catstr("nsattrb", num)
#define | VAR_NAME_NSATTRIB(num) ex__catstr("nsattrib_name", num)
#define | DIM_NUM_ATT_IN_NS(num) ex__catstr("num_att_in_ns", num)
#define | VAR_SSATTRIB(num) ex__catstr("ssattrb", num)
#define | VAR_NAME_SSATTRIB(num) ex__catstr("ssattrib_name", num)
#define | DIM_NUM_ATT_IN_SS(num) ex__catstr("num_att_in_ss", num)
#define | VAR_ESATTRIB(num) ex__catstr("esattrb", num)
#define | VAR_NAME_ESATTRIB(num) ex__catstr("esattrib_name", num)
#define | DIM_NUM_ATT_IN_ES(num) ex__catstr("num_att_in_es", num)
#define | VAR_FSATTRIB(num) ex__catstr("fsattrb", num)
#define | VAR_NAME_FSATTRIB(num) ex__catstr("fsattrib_name", num)
#define | DIM_NUM_ATT_IN_FS(num) ex__catstr("num_att_in_fs", num)
#define | VAR_ELSATTRIB(num) ex__catstr("elsattrb", num)
#define | VAR_NAME_ELSATTRIB(num) ex__catstr("elsattrib_name", num)
#define | DIM_NUM_ATT_IN_ELS(num) ex__catstr("num_att_in_els", num)
#define | VAR_ED_PROP(num) ex__catstr("ed_prop", num)
#define | VAR_FCONN(num) ex__catstr("facconn", num)
#define | VAR_FBCONN(num) ex__catstr("fbconn", num)
#define | VAR_FBEPEC(num) ex__catstr("fbepecnt", num)
#define | VAR_FATTRIB(num) ex__catstr("fattrb", num)
#define | VAR_NAME_FATTRIB(num) ex__catstr("fattrib_name", num)
#define | VAR_FA_PROP(num) ex__catstr("fa_prop", num)
#define | ATT_PROP_NAME "name"
#define | VAR_MAP "elem_map"
#define | DIM_NUM_SS "num_side_sets"
#define | VAR_SS_STAT "ss_status"
#define | VAR_SS_IDS "ss_prop1"
#define | DIM_NUM_SIDE_SS(num) ex__catstr("num_side_ss", num)
#define | DIM_NUM_DF_SS(num) ex__catstr("num_df_ss", num)
#define | VAR_FACT_SS(num) ex__catstr("dist_fact_ss", num)
#define | VAR_ELEM_SS(num) ex__catstr("elem_ss", num)
#define | VAR_SIDE_SS(num) ex__catstr("side_ss", num)
#define | VAR_SS_PROP(num) ex__catstr("ss_prop", num)
#define | DIM_NUM_ES "num_edge_sets"
#define | VAR_ES_STAT "es_status"
#define | VAR_ES_IDS "es_prop1"
#define | DIM_NUM_EDGE_ES(num) ex__catstr("num_edge_es", num)
#define | DIM_NUM_DF_ES(num) ex__catstr("num_df_es", num)
#define | VAR_FACT_ES(num) ex__catstr("dist_fact_es", num)
#define | VAR_EDGE_ES(num) ex__catstr("edge_es", num)
#define | VAR_ORNT_ES(num) ex__catstr("ornt_es", num)
#define | VAR_ES_PROP(num) ex__catstr("es_prop", num)
#define | DIM_NUM_FS "num_face_sets"
#define | VAR_FS_STAT "fs_status"
#define | VAR_FS_IDS "fs_prop1"
#define | DIM_NUM_FACE_FS(num) ex__catstr("num_face_fs", num)
#define | DIM_NUM_DF_FS(num) ex__catstr("num_df_fs", num)
#define | VAR_FACT_FS(num) ex__catstr("dist_fact_fs", num)
#define | VAR_FACE_FS(num) ex__catstr("face_fs", num)
#define | VAR_ORNT_FS(num) ex__catstr("ornt_fs", num)
#define | VAR_FS_PROP(num) ex__catstr("fs_prop", num)
#define | DIM_NUM_ELS "num_elem_sets"
#define | DIM_NUM_ELE_ELS(num) ex__catstr("num_ele_els", num)
#define | DIM_NUM_DF_ELS(num) ex__catstr("num_df_els", num)
#define | VAR_ELS_STAT "els_status"
#define | VAR_ELS_IDS "els_prop1"
#define | VAR_ELEM_ELS(num) ex__catstr("elem_els", num)
#define | VAR_FACT_ELS(num) ex__catstr("dist_fact_els", num)
#define | VAR_ELS_PROP(num) ex__catstr("els_prop", num)
#define | DIM_NUM_NS "num_node_sets"
#define | DIM_NUM_NOD_NS(num) ex__catstr("num_nod_ns", num)
#define | DIM_NUM_DF_NS(num) ex__catstr("num_df_ns", num)
#define | VAR_NS_STAT "ns_status"
#define | VAR_NS_IDS "ns_prop1"
#define | VAR_NODE_NS(num) ex__catstr("node_ns", num)
#define | VAR_FACT_NS(num) ex__catstr("dist_fact_ns", num)
#define | VAR_NS_PROP(num) ex__catstr("ns_prop", num)
#define | DIM_NUM_QA "num_qa_rec"
#define | VAR_QA_TITLE "qa_records"
#define | DIM_NUM_INFO "num_info"
#define | VAR_INFO "info_records"
#define | VAR_WHOLE_TIME "time_whole"
#define | VAR_ELEM_TAB "elem_var_tab"
#define | VAR_EBLK_TAB "edge_var_tab"
#define | VAR_FBLK_TAB "face_var_tab"
#define | VAR_ELSET_TAB "elset_var_tab"
#define | VAR_SSET_TAB "sset_var_tab"
#define | VAR_FSET_TAB "fset_var_tab"
#define | VAR_ESET_TAB "eset_var_tab"
#define | VAR_NSET_TAB "nset_var_tab"
#define | DIM_NUM_GLO_VAR "num_glo_var"
#define | VAR_NAME_GLO_VAR "name_glo_var"
#define | VAR_GLO_VAR "vals_glo_var"
#define | DIM_NUM_NOD_VAR "num_nod_var"
#define | VAR_NAME_NOD_VAR "name_nod_var"
#define | VAR_NOD_VAR "vals_nod_var"
#define | VAR_NOD_VAR_NEW(num) ex__catstr("vals_nod_var", num)
#define | DIM_NUM_ELE_VAR "num_elem_var"
#define | VAR_NAME_ELE_VAR "name_elem_var"
#define | VAR_ELEM_VAR(num1, num2) ex__catstr2("vals_elem_var", num1, "eb", num2)
#define | DIM_NUM_EDG_VAR "num_edge_var"
#define | VAR_NAME_EDG_VAR "name_edge_var"
#define | VAR_EDGE_VAR(num1, num2) ex__catstr2("vals_edge_var", num1, "eb", num2)
#define | DIM_NUM_FAC_VAR "num_face_var"
#define | VAR_NAME_FAC_VAR "name_face_var"
#define | VAR_FACE_VAR(num1, num2) ex__catstr2("vals_face_var", num1, "fb", num2)
#define | DIM_NUM_NSET_VAR "num_nset_var"
#define | VAR_NAME_NSET_VAR "name_nset_var"
#define | VAR_NS_VAR(num1, num2) ex__catstr2("vals_nset_var", num1, "ns", num2)
#define | DIM_NUM_ESET_VAR "num_eset_var"
#define | VAR_NAME_ESET_VAR "name_eset_var"
#define | VAR_ES_VAR(num1, num2) ex__catstr2("vals_eset_var", num1, "es", num2)
#define | DIM_NUM_FSET_VAR "num_fset_var"
#define | VAR_NAME_FSET_VAR "name_fset_var"
#define | VAR_FS_VAR(num1, num2) ex__catstr2("vals_fset_var", num1, "fs", num2)
#define | DIM_NUM_SSET_VAR "num_sset_var"
#define | VAR_NAME_SSET_VAR "name_sset_var"
#define | VAR_SS_VAR(num1, num2) ex__catstr2("vals_sset_var", num1, "ss", num2)
#define | DIM_NUM_ELSET_VAR "num_elset_var"
#define | VAR_NAME_ELSET_VAR "name_elset_var"
#define | VAR_ELS_VAR(num1, num2) ex__catstr2("vals_elset_var", num1, "es", num2)
#define | DIM_STR "len_string"
#define | DIM_STR_NAME "len_name"
#define | DIM_LIN "len_line"
#define | DIM_N4 "four"
#define | DIM_TIME "time_step"
#define | VAR_ELEM_NUM_MAP "elem_num_map"
#define | VAR_FACE_NUM_MAP "face_num_map"
#define | VAR_EDGE_NUM_MAP "edge_num_map"
#define | VAR_NODE_NUM_MAP "node_num_map"
#define | DIM_NUM_EM "num_elem_maps"
#define | VAR_ELEM_MAP(num) ex__catstr("elem_map", num)
#define | VAR_EM_PROP(num) ex__catstr("em_prop", num)
#define | DIM_NUM_EDM "num_edge_maps"
#define | VAR_EDGE_MAP(num) ex__catstr("edge_map", num)
#define | VAR_EDM_PROP(num) ex__catstr("edm_prop", num)
#define | DIM_NUM_FAM "num_face_maps"
#define | VAR_FACE_MAP(num) ex__catstr("face_map", num)
#define | VAR_FAM_PROP(num) ex__catstr("fam_prop", num)
#define | DIM_NUM_NM "num_node_maps"
#define | VAR_NODE_MAP(num) ex__catstr("node_map", num)
#define | VAR_NM_PROP(num) ex__catstr("nm_prop", num)
#define | DIM_NUM_CFRAMES "num_cframes"
#define | DIM_NUM_CFRAME9 "num_cframes_9"
#define | VAR_FRAME_COORDS "frame_coordinates"
#define | VAR_FRAME_IDS "frame_ids"
#define | VAR_FRAME_TAGS "frame_tags"
#define | VAR_ELBLK_IDS_GLOBAL "el_blk_ids_global"
#define | VAR_ELBLK_CNT_GLOBAL "el_blk_cnt_global"
#define | VAR_NS_IDS_GLOBAL "ns_ids_global"
#define | VAR_NS_NODE_CNT_GLOBAL "ns_node_cnt_global"
#define | VAR_NS_DF_CNT_GLOBAL "ns_df_cnt_global"
#define | VAR_SS_IDS_GLOBAL "ss_ids_global"
#define | VAR_SS_SIDE_CNT_GLOBAL "ss_side_cnt_global"
#define | VAR_SS_DF_CNT_GLOBAL "ss_df_cnt_global"
#define | VAR_FILE_TYPE "nem_ftype"
#define | VAR_COMM_MAP "comm_map"
#define | VAR_NODE_MAP_INT "node_mapi"
#define | VAR_NODE_MAP_INT_IDX "node_mapi_idx"
#define | VAR_NODE_MAP_BOR "node_mapb"
#define | VAR_NODE_MAP_BOR_IDX "node_mapb_idx"
#define | VAR_NODE_MAP_EXT "node_mape"
#define | VAR_NODE_MAP_EXT_IDX "node_mape_idx"
#define | VAR_ELEM_MAP_INT "elem_mapi"
#define | VAR_ELEM_MAP_INT_IDX "elem_mapi_idx"
#define | VAR_ELEM_MAP_BOR "elem_mapb"
#define | VAR_ELEM_MAP_BOR_IDX "elem_mapb_idx"
#define | VAR_INT_N_STAT "int_n_stat"
#define | VAR_BOR_N_STAT "bor_n_stat"
#define | VAR_EXT_N_STAT "ext_n_stat"
#define | VAR_INT_E_STAT "int_e_stat"
#define | VAR_BOR_E_STAT "bor_e_stat"
#define | VAR_N_COMM_IDS "n_comm_ids"
#define | VAR_N_COMM_STAT "n_comm_stat"
#define | VAR_N_COMM_INFO_IDX "n_comm_info_idx"
#define | VAR_E_COMM_IDS "e_comm_ids"
#define | VAR_E_COMM_STAT "e_comm_stat"
#define | VAR_E_COMM_INFO_IDX "e_comm_info_idx"
#define | VAR_N_COMM_NIDS "n_comm_nids"
#define | VAR_N_COMM_PROC "n_comm_proc"
#define | VAR_N_COMM_DATA_IDX "n_comm_data_idx"
#define | VAR_E_COMM_EIDS "e_comm_eids"
#define | VAR_E_COMM_SIDS "e_comm_sids"
#define | VAR_E_COMM_PROC "e_comm_proc"
#define | VAR_E_COMM_DATA_IDX "e_comm_data_idx"
#define | DIM_NUM_INT_NODES "num_int_node"
#define | DIM_NUM_BOR_NODES "num_bor_node"
#define | DIM_NUM_EXT_NODES "num_ext_node"
#define | DIM_NUM_INT_ELEMS "num_int_elem"
#define | DIM_NUM_BOR_ELEMS "num_bor_elem"
#define | DIM_NUM_PROCS "num_processors"
#define | DIM_NUM_PROCS_F "num_procs_file"
#define | DIM_NUM_NODES_GLOBAL "num_nodes_global"
#define | DIM_NUM_ELEMS_GLOBAL "num_elems_global"
#define | DIM_NUM_NS_GLOBAL "num_ns_global"
#define | DIM_NUM_SS_GLOBAL "num_ss_global"
#define | DIM_NUM_ELBLK_GLOBAL "num_el_blk_global"
#define | DIM_NUM_N_CMAPS "num_n_cmaps"
#define | DIM_NUM_E_CMAPS "num_e_cmaps"
#define | DIM_NCNT_CMAP "ncnt_cmap"
#define | DIM_ECNT_CMAP "ecnt_cmap"

## Typedefs
typedef enum ex__element_type | ex__element_type
typedef enum ex__coordinate_frame_type | ex__coordinate_frame_type

## Enumerations
enum | ex__element_type { EX_EL_UNK = -1, EX_EL_NULL_ELEMENT = 0, EX_EL_TRIANGLE = 1, EX_EL_QUAD = 2, EX_EL_HEX = 3, EX_EL_WEDGE = 4, EX_EL_TETRA = 5, EX_EL_TRUSS = 6, EX_EL_BEAM = 7, EX_EL_SHELL = 8, EX_EL_SPHERE = 9, EX_EL_CIRCLE = 10, EX_EL_TRISHELL = 11, EX_EL_PYRAMID = 12 }
enum | ex__coordinate_frame_type { EX_CF_RECTANGULAR = 1, EX_CF_CYLINDRICAL = 2, EX_CF_SPHERICAL = 3 }

## Functions
void | ex__reset_error_status (void)
void | ex__iqsort (int v[], int iv[], int N)
void | ex__iqsort64 (int64_t v[], int64_t iv[], int64_t N)
char * | ex__catstr (const char *, int)
char * | ex__catstr2 (const char *, int, const char *, int)
char * | ex__dim_num_entries_in_object (ex_entity_type, int)
char * | ex__dim_num_objects (ex_entity_type obj_type)
char * | ex__name_var_of_object (ex_entity_type, int, int)
char * | ex__name_of_map (ex_entity_type, int)
int | ex__conv_init (int exoid, int *comp_wordsize, int *io_wordsize, int file_wordsize, int int64_status, int is_parallel, int is_hdf5, int is_pnetcdf)
void | ex__conv_exit (int exoid)
nc_type | nc_flt_code (int exoid)
int | ex__comp_ws (int exoid)
int | ex__get_cpu_ws (void)
int | ex__is_parallel (int exoid)
struct ex__list_item ** | ex__get_counter_list (ex_entity_type obj_type)
int | ex__get_file_item (int, struct ex__list_item **)
int | ex__inc_file_item (int, struct ex__list_item **)
void | ex__rm_file_item (int, struct ex__list_item **)
struct ex__file_item * | ex__find_file_item (int exoid)
struct ex__file_item * | ex__add_file_item (int exoid)
struct ex__obj_stats * | ex__get_stat_ptr (int exoid, struct ex__obj_stats **obj_ptr)
void | ex__rm_stat_ptr (int exoid, struct ex__obj_stats **obj_ptr)
void | ex__compress_variable (int exoid, int varid, int type)
int | ex__id_lkup (int exoid, ex_entity_type id_type, ex_entity_id num)
void | ex__check_valid_file_id (int exoid, const char *func)
int | ex__check_file_type (const char *path, int *type)
int | ex__get_dimension (int exoid, const char *DIMENSION, const char *label, size_t *count, int *dimid, const char *routine)
int | ex__get_nodal_var (int exoid, int time_step, int nodal_var_index, int64_t num_nodes, void *nodal_var_vals)
int | ex__put_nodal_var (int exoid, int time_step, int nodal_var_index, int64_t num_nodes, const void *nodal_var_vals)
int | ex__get_nodal_var_time (int exoid, int nodal_var_index, int64_t node_number, int beg_time_step, int end_time_step, void *nodal_var_vals)
int | ex__get_partial_nodal_var (int exoid, int time_step, int nodal_var_index, int64_t start_node, int64_t num_nodes, void *var_vals)
int | ex__put_partial_nodal_var (int exoid, int time_step, int nodal_var_index, int64_t start_node, int64_t num_nodes, const void *nodal_var_vals)
int | ex__get_glob_vars (int exoid, int time_step, int num_glob_vars, void *glob_var_vals)
int | ex__get_glob_var_time (int exoid, int glob_var_index, int beg_time_step, int end_time_step, void *glob_var_vals)
int | ex__get_name (int exoid, int varid, size_t index, char *name, int name_size, ex_entity_type obj_type, const char *routine)
int | ex__get_names (int exoid, int varid, size_t num_entity, char **names, ex_entity_type obj_type, const char *routine)
int | ex__put_name (int exoid, int varid, size_t index, const char *name, ex_entity_type obj_type, const char *subtype, const char *routine)
int | ex__put_names (int exoid, int varid, size_t num_entity, char **names, ex_entity_type obj_type, const char *subtype, const char *routine)
void | ex__trim (char *name)
void | ex__update_max_name_length (int exoid, int length)
int | ex__leavedef (int exoid, const char *call_rout)
int | ex__check_version (int run_version)
int | ex__handle_mode (unsigned int my_mode, int is_parallel, int run_version)
int | ex__populate_header (int exoid, const char *path, int my_mode, int is_parallel, int *comp_ws, int *io_ws)
int | ex__get_block_param (int exoid, ex_entity_id id, int ndim, struct ex__elem_blk_parm *elem_blk_parm)
int | ex__get_file_type (int exoid, char *ftype)
int | ex__put_nemesis_version (int exoid)
int | ne__check_file_version (int neid)
int | ne__id_lkup (int exoid, const char *ne_var_name, int64_t *idx, ex_entity_id ne_var_id)

## Variables
struct ex__obj_stats * | exoII_eb
struct ex__obj_stats * | exoII_ed
struct ex__obj_stats * | exoII_fa
struct ex__obj_stats * | exoII_ns
struct ex__obj_stats * | exoII_es
struct ex__obj_stats * | exoII_fs
struct ex__obj_stats * | exoII_ss
struct ex__obj_stats * | exoII_els
struct ex__obj_stats * | exoII_em
struct ex__obj_stats * | exoII_edm
struct ex__obj_stats * | exoII_fam
struct ex__obj_stats * | exoII_nm
int | ex__default_max_name_length

## Detailed Description

Variables and functions used internally in the library

## Macro Definition Documentation

## ◆ ATT_API_VERSION

#define ATT_API_VERSION "api_version"

the EXODUS api vers number

## ◆ ATT_API_VERSION_BLANK

#define ATT_API_VERSION_BLANK "api version"

the EXODUS api vers # used for db version 2.01 and earlier

## ◆ ATT_FILESIZE

#define ATT_FILESIZE "file_size"

1=large, 0=normal

## ◆ ATT_FLT_WORDSIZE

#define ATT_FLT_WORDSIZE "floating_point_word_size"

word size of floating point numbers in file

## ◆ ATT_FLT_WORDSIZE_BLANK

#define ATT_FLT_WORDSIZE_BLANK "floating point word size"

word size of floating point numbers in file used for db version 2.01 and earlier

## ◆ ATT_INT64_STATUS

#define ATT_INT64_STATUS "int64_status"

## ◆ ATT_MAX_NAME_LENGTH

#define ATT_MAX_NAME_LENGTH "maximum_name_length"

## ◆ ATT_NAME_ELB

#define ATT_NAME_ELB "elem_type"

element type names for each element block

## ◆ ATT_PROP_NAME

#define ATT_PROP_NAME "name"

name attached to element block, node set, side set, element map, or map properties

## ◆ ATT_TITLE

#define ATT_TITLE "title"

the database title

## ◆ ATT_VERSION

#define ATT_VERSION "version"

the EXODUS file vers number

## ◆ DIM_ECNT_CMAP

#define DIM_ECNT_CMAP "ecnt_cmap"

## ◆ DIM_LIN

#define DIM_LIN "len_line"

general dimension of length MAX_LINE_LENGTH used for long strings

## ◆ DIM_N4

#define DIM_N4 "four"

## ◆ DIM_NCNT_CMAP

#define DIM_NCNT_CMAP "ncnt_cmap"

## ◆ DIM_NUM_ATT_IN_BLK

#define DIM_NUM_ATT_IN_BLK | ( |  | num | ) | ex__catstr("num_att_in_blk", num)

number of attributes in element block num

## ◆ DIM_NUM_ATT_IN_EBLK

#define DIM_NUM_ATT_IN_EBLK | ( |  | num | ) | ex__catstr("num_att_in_eblk", num)

number of attributes in edge block num

## ◆ DIM_NUM_ATT_IN_ELS

#define DIM_NUM_ATT_IN_ELS | ( |  | num | ) | ex__catstr("num_att_in_els", num)

## ◆ DIM_NUM_ATT_IN_ES

#define DIM_NUM_ATT_IN_ES | ( |  | num | ) | ex__catstr("num_att_in_es", num)

## ◆ DIM_NUM_ATT_IN_FBLK

#define DIM_NUM_ATT_IN_FBLK | ( |  | num | ) | ex__catstr("num_att_in_fblk", num)

number of attributes in face block num

## ◆ DIM_NUM_ATT_IN_FS

#define DIM_NUM_ATT_IN_FS | ( |  | num | ) | ex__catstr("num_att_in_fs", num)

## ◆ DIM_NUM_ATT_IN_NBLK

#define DIM_NUM_ATT_IN_NBLK "num_att_in_nblk"

## ◆ DIM_NUM_ATT_IN_NS

#define DIM_NUM_ATT_IN_NS | ( |  | num | ) | ex__catstr("num_att_in_ns", num)

## ◆ DIM_NUM_ATT_IN_SS

#define DIM_NUM_ATT_IN_SS | ( |  | num | ) | ex__catstr("num_att_in_ss", num)

## ◆ DIM_NUM_BOR_ELEMS

#define DIM_NUM_BOR_ELEMS "num_bor_elem"

## ◆ DIM_NUM_BOR_NODES

#define DIM_NUM_BOR_NODES "num_bor_node"

## ◆ DIM_NUM_CFRAME9

#define DIM_NUM_CFRAME9 "num_cframes_9"

## ◆ DIM_NUM_CFRAMES

#define DIM_NUM_CFRAMES "num_cframes"

## ◆ DIM_NUM_DF_ELS

#define DIM_NUM_DF_ELS | ( |  | num | ) | ex__catstr("num_df_els", num)

number of distribution factors in element set num

## ◆ DIM_NUM_DF_ES

#define DIM_NUM_DF_ES | ( |  | num | ) | ex__catstr("num_df_es", num)

number of distribution factors in edge set num

## ◆ DIM_NUM_DF_FS

#define DIM_NUM_DF_FS | ( |  | num | ) | ex__catstr("num_df_fs", num)

number of distribution factors in face set num

## ◆ DIM_NUM_DF_NS

#define DIM_NUM_DF_NS | ( |  | num | ) | ex__catstr("num_df_ns", num)

number of distribution factors in node set num

## ◆ DIM_NUM_DF_SS

#define DIM_NUM_DF_SS | ( |  | num | ) | ex__catstr("num_df_ss", num)

number of distribution factors in side set num

## ◆ DIM_NUM_DIM

#define DIM_NUM_DIM "num_dim"

number of dimensions; 2- or 3-d

## ◆ DIM_NUM_E_CMAPS

#define DIM_NUM_E_CMAPS "num_e_cmaps"

## ◆ DIM_NUM_ED_BLK

#define DIM_NUM_ED_BLK "num_ed_blk"

number of edge blocks

## ◆ DIM_NUM_ED_IN_EBLK

#define DIM_NUM_ED_IN_EBLK | ( |  | num | ) | ex__catstr("num_ed_in_blk", num)

number of edges in edge block num

## ◆ DIM_NUM_EDG_PER_EL

#define DIM_NUM_EDG_PER_EL | ( |  | num | ) | ex__catstr("num_edg_per_el", num)

number of edges per element in element block num

## ◆ DIM_NUM_EDG_VAR

#define DIM_NUM_EDG_VAR "num_edge_var"

number of edge variables

## ◆ DIM_NUM_EDGE

#define DIM_NUM_EDGE "num_edge"

number of edges (over all blks)

## ◆ DIM_NUM_EDGE_ES

#define DIM_NUM_EDGE_ES | ( |  | num | ) | ex__catstr("num_edge_es", num)

number of edges in edge set num

## ◆ DIM_NUM_EDM

#define DIM_NUM_EDM "num_edge_maps"

number of edge maps

## ◆ DIM_NUM_EL_BLK

#define DIM_NUM_EL_BLK "num_el_blk"

number of element blocks

## ◆ DIM_NUM_EL_IN_BLK

#define DIM_NUM_EL_IN_BLK | ( |  | num | ) | ex__catstr("num_el_in_blk", num)

number of elements in element block num

## ◆ DIM_NUM_ELBLK_GLOBAL

#define DIM_NUM_ELBLK_GLOBAL "num_el_blk_global"

## ◆ DIM_NUM_ELE_ELS

#define DIM_NUM_ELE_ELS | ( |  | num | ) | ex__catstr("num_ele_els", num)

number of elements in elem set num

## ◆ DIM_NUM_ELE_VAR

#define DIM_NUM_ELE_VAR "num_elem_var"

number of element variables

## ◆ DIM_NUM_ELEM

#define DIM_NUM_ELEM "num_elem"

number of elements

## ◆ DIM_NUM_ELEMS_GLOBAL

#define DIM_NUM_ELEMS_GLOBAL "num_elems_global"

## ◆ DIM_NUM_ELS

#define DIM_NUM_ELS "num_elem_sets"

number of elem sets

## ◆ DIM_NUM_ELSET_VAR

#define DIM_NUM_ELSET_VAR "num_elset_var"

number of element set variables

## ◆ DIM_NUM_EM

#define DIM_NUM_EM "num_elem_maps"

number of element maps

## ◆ DIM_NUM_ES

#define DIM_NUM_ES "num_edge_sets"

number of edge sets

## ◆ DIM_NUM_ESET_VAR

#define DIM_NUM_ESET_VAR "num_eset_var"

number of edgeset variables

## ◆ DIM_NUM_EXT_NODES

#define DIM_NUM_EXT_NODES "num_ext_node"

## ◆ DIM_NUM_FA_BLK

#define DIM_NUM_FA_BLK "num_fa_blk"

number of face blocks

## ◆ DIM_NUM_FA_IN_FBLK

#define DIM_NUM_FA_IN_FBLK | ( |  | num | ) | ex__catstr("num_fa_in_blk", num)

number of faces in face block num

## ◆ DIM_NUM_FAC_PER_EL

#define DIM_NUM_FAC_PER_EL | ( |  | num | ) | ex__catstr("num_fac_per_el", num)

number of faces per element in element block num

## ◆ DIM_NUM_FAC_VAR

#define DIM_NUM_FAC_VAR "num_face_var"

number of face variables

## ◆ DIM_NUM_FACE

#define DIM_NUM_FACE "num_face"

number of faces (over all blks)

## ◆ DIM_NUM_FACE_FS

#define DIM_NUM_FACE_FS | ( |  | num | ) | ex__catstr("num_face_fs", num)

number of faces in side set num

## ◆ DIM_NUM_FAM

#define DIM_NUM_FAM "num_face_maps"

number of face maps

## ◆ DIM_NUM_FS

#define DIM_NUM_FS "num_face_sets"

number of face sets

## ◆ DIM_NUM_FSET_VAR

#define DIM_NUM_FSET_VAR "num_fset_var"

number of faceset variables

## ◆ DIM_NUM_GLO_VAR

#define DIM_NUM_GLO_VAR "num_glo_var"

number of global variables

## ◆ DIM_NUM_INFO

#define DIM_NUM_INFO "num_info"

number of information records

## ◆ DIM_NUM_INT_ELEMS

#define DIM_NUM_INT_ELEMS "num_int_elem"

## ◆ DIM_NUM_INT_NODES

#define DIM_NUM_INT_NODES "num_int_node"

## ◆ DIM_NUM_N_CMAPS

#define DIM_NUM_N_CMAPS "num_n_cmaps"

## ◆ DIM_NUM_NM

#define DIM_NUM_NM "num_node_maps"

number of node maps

## ◆ DIM_NUM_NOD_NS

#define DIM_NUM_NOD_NS | ( |  | num | ) | ex__catstr("num_nod_ns", num)

number of nodes in node set num

## ◆ DIM_NUM_NOD_PER_ED

#define DIM_NUM_NOD_PER_ED | ( |  | num | ) | ex__catstr("num_nod_per_ed", num)

number of nodes per edge in edge block num

## ◆ DIM_NUM_NOD_PER_EL

#define DIM_NUM_NOD_PER_EL | ( |  | num | ) | ex__catstr("num_nod_per_el", num)

number of nodes per element in element block num

## ◆ DIM_NUM_NOD_PER_FA

#define DIM_NUM_NOD_PER_FA | ( |  | num | ) | ex__catstr("num_nod_per_fa", num)

number of nodes per face in face block num

## ◆ DIM_NUM_NOD_VAR

#define DIM_NUM_NOD_VAR "num_nod_var"

number of nodal variables

## ◆ DIM_NUM_NODES

#define DIM_NUM_NODES "num_nodes"

number of nodes

## ◆ DIM_NUM_NODES_GLOBAL

#define DIM_NUM_NODES_GLOBAL "num_nodes_global"

## ◆ DIM_NUM_NS

#define DIM_NUM_NS "num_node_sets"

number of node sets

## ◆ DIM_NUM_NS_GLOBAL

#define DIM_NUM_NS_GLOBAL "num_ns_global"

## ◆ DIM_NUM_NSET_VAR

#define DIM_NUM_NSET_VAR "num_nset_var"

number of nodeset variables

## ◆ DIM_NUM_PROCS

#define DIM_NUM_PROCS "num_processors"

## ◆ DIM_NUM_PROCS_F

#define DIM_NUM_PROCS_F "num_procs_file"

## ◆ DIM_NUM_QA

#define DIM_NUM_QA "num_qa_rec"

number of QA records

## ◆ DIM_NUM_SIDE_SS

#define DIM_NUM_SIDE_SS | ( |  | num | ) | ex__catstr("num_side_ss", num)

number of sides in side set num

## ◆ DIM_NUM_SS

#define DIM_NUM_SS "num_side_sets"

number of side sets

## ◆ DIM_NUM_SS_GLOBAL

#define DIM_NUM_SS_GLOBAL "num_ss_global"

## ◆ DIM_NUM_SSET_VAR

#define DIM_NUM_SSET_VAR "num_sset_var"

number of sideset variables

## ◆ DIM_STR

#define DIM_STR "len_string"

general dimension of length MAX_STR_LENGTH used for some string lengths

## ◆ DIM_STR_NAME

#define DIM_STR_NAME "len_name"

general dimension of length MAX_NAME_LENGTH used for name lengths

## ◆ DIM_TIME

#define DIM_TIME "time_step"

unlimited (expandable) dimension for time steps

## ◆ EX_FILE_ID_MASK

#define EX_FILE_ID_MASK (0xffff0000)

Must match FILE_ID_MASK in NetCDF nc4internal.h

## ◆ EX_FUNC_ENTER

#define EX_FUNC_ENTER | ( |  | ) |

Value:
{ \
ex__reset_error_status(); \
}

## ◆ EX_FUNC_ENTER_INT

#define EX_FUNC_ENTER_INT | ( |  | ) |

## ◆ EX_FUNC_LEAVE

#define EX_FUNC_LEAVE | ( |  | error | ) | return error

## ◆ EX_FUNC_VOID

#define EX_FUNC_VOID | ( |  | ) | return

## ◆ EX_GRP_ID_MASK

#define EX_GRP_ID_MASK (0x0000ffff)

Must match GRP_ID_MASK in NetCDF nc4internal.h

## ◆ EX_UNUSED

#define EX_UNUSED | ( |  | A | ) |

Value:
do { \
(void)(A); \
} while (0)

## ◆ EXODUS_DEFAULT_SIZE

#define EXODUS_DEFAULT_SIZE 1

## ◆ MAX_VAR_NAME_LENGTH

#define MAX_VAR_NAME_LENGTH 32

Internal use only

## ◆ VAR_ATTRIB

#define VAR_ATTRIB | ( |  | num | ) | ex__catstr("attrib", num)

list of attributes for element block num

## ◆ VAR_BOR_E_STAT

#define VAR_BOR_E_STAT "bor_e_stat"

## ◆ VAR_BOR_N_STAT

#define VAR_BOR_N_STAT "bor_n_stat"

## ◆ VAR_COMM_MAP

#define VAR_COMM_MAP "comm_map"

## ◆ VAR_CONN

#define VAR_CONN | ( |  | num | ) | ex__catstr("connect", num)

element connectivity for element block num

## ◆ VAR_COORD

#define VAR_COORD "coord"

nodal coordinates

## ◆ VAR_COORD_X

#define VAR_COORD_X "coordx"

X-dimension coordinate

## ◆ VAR_COORD_Y

#define VAR_COORD_Y "coordy"

Y-dimension coordinate

## ◆ VAR_COORD_Z

#define VAR_COORD_Z "coordz"

Z-dimension coordinate

## ◆ VAR_E_COMM_DATA_IDX

#define VAR_E_COMM_DATA_IDX "e_comm_data_idx"

## ◆ VAR_E_COMM_EIDS

#define VAR_E_COMM_EIDS "e_comm_eids"

## ◆ VAR_E_COMM_IDS

#define VAR_E_COMM_IDS "e_comm_ids"

## ◆ VAR_E_COMM_INFO_IDX

#define VAR_E_COMM_INFO_IDX "e_comm_info_idx"

## ◆ VAR_E_COMM_PROC

#define VAR_E_COMM_PROC "e_comm_proc"

## ◆ VAR_E_COMM_SIDS

#define VAR_E_COMM_SIDS "e_comm_sids"

## ◆ VAR_E_COMM_STAT

#define VAR_E_COMM_STAT "e_comm_stat"

## ◆ VAR_EATTRIB

#define VAR_EATTRIB | ( |  | num | ) | ex__catstr("eattrb", num)

list of attributes for edge block num

## ◆ VAR_EB_PROP

#define VAR_EB_PROP | ( |  | num | ) | ex__catstr("eb_prop", num)

list of the numth property for all element blocks

## ◆ VAR_EBCONN

#define VAR_EBCONN | ( |  | num | ) | ex__catstr("ebconn", num)

edge connectivity for edge block num

## ◆ VAR_EBEPEC

#define VAR_EBEPEC | ( |  | num | ) | ex__catstr("ebepecnt", num)

array containing number of entity per

## ◆ VAR_EBLK_TAB

#define VAR_EBLK_TAB "edge_var_tab"

edge variable truth table

## ◆ VAR_ECONN

#define VAR_ECONN | ( |  | num | ) | ex__catstr("edgconn", num)

edge connectivity for element block num

## ◆ VAR_ED_PROP

#define VAR_ED_PROP | ( |  | num | ) | ex__catstr("ed_prop", num)

list of the numth property for all edge blocks

## ◆ VAR_EDGE_ES

#define VAR_EDGE_ES | ( |  | num | ) | ex__catstr("edge_es", num)

list of edges in edge set num

## ◆ VAR_EDGE_MAP

#define VAR_EDGE_MAP | ( |  | num | ) | ex__catstr("edge_map", num)

the numth edge map

## ◆ VAR_EDGE_NUM_MAP

#define VAR_EDGE_NUM_MAP "edge_num_map"

edge numbering map

## ◆ VAR_EDGE_VAR

#define VAR_EDGE_VAR | ( |  | num1,
|  |  | num2
| ) |  | ex__catstr2("vals_edge_var", num1, "eb", num2)

values of edge variable num1 in edge block num2

## ◆ VAR_EDM_PROP

#define VAR_EDM_PROP | ( |  | num | ) | ex__catstr("edm_prop", num)

## ◆ VAR_ELBLK_CNT_GLOBAL

#define VAR_ELBLK_CNT_GLOBAL "el_blk_cnt_global"

## ◆ VAR_ELBLK_IDS_GLOBAL

#define VAR_ELBLK_IDS_GLOBAL "el_blk_ids_global"

## ◆ VAR_ELEM_ELS

#define VAR_ELEM_ELS | ( |  | num | ) | ex__catstr("elem_els", num)

list of elements in elem set num

## ◆ VAR_ELEM_MAP

#define VAR_ELEM_MAP | ( |  | num | ) | ex__catstr("elem_map", num)

the numth element map

## ◆ VAR_ELEM_MAP_BOR

#define VAR_ELEM_MAP_BOR "elem_mapb"

## ◆ VAR_ELEM_MAP_BOR_IDX

#define VAR_ELEM_MAP_BOR_IDX "elem_mapb_idx"

## ◆ VAR_ELEM_MAP_INT

#define VAR_ELEM_MAP_INT "elem_mapi"

## ◆ VAR_ELEM_MAP_INT_IDX

#define VAR_ELEM_MAP_INT_IDX "elem_mapi_idx"

## ◆ VAR_ELEM_NUM_MAP

#define VAR_ELEM_NUM_MAP "elem_num_map"

element numbering map

## ◆ VAR_ELEM_SS

#define VAR_ELEM_SS | ( |  | num | ) | ex__catstr("elem_ss", num)

list of elements in side set num

## ◆ VAR_ELEM_TAB

#define VAR_ELEM_TAB "elem_var_tab"

element variable truth table

## ◆ VAR_ELEM_VAR

#define VAR_ELEM_VAR | ( |  | num1,
|  |  | num2
| ) |  | ex__catstr2("vals_elem_var", num1, "eb", num2)

values of element variable num1 in element block num2

## ◆ VAR_ELS_IDS

#define VAR_ELS_IDS "els_prop1"

elem set id properties

## ◆ VAR_ELS_PROP

#define VAR_ELS_PROP | ( |  | num | ) | ex__catstr("els_prop", num)

list of the numth property for all elem sets

## ◆ VAR_ELS_STAT

#define VAR_ELS_STAT "els_status"

elem set status

## ◆ VAR_ELS_VAR

#define VAR_ELS_VAR | ( |  | num1,
|  |  | num2
| ) |  | ex__catstr2("vals_elset_var", num1, "es", num2)

values of elemset variable num1 in elemset num2

## ◆ VAR_ELSATTRIB

#define VAR_ELSATTRIB | ( |  | num | ) | ex__catstr("elsattrb", num)

## ◆ VAR_ELSET_TAB

#define VAR_ELSET_TAB "elset_var_tab"

elemset variable truth table

## ◆ VAR_EM_PROP

#define VAR_EM_PROP | ( |  | num | ) | ex__catstr("em_prop", num)

list of the numth property for all element maps

## ◆ VAR_ES_IDS

#define VAR_ES_IDS "es_prop1"

edge set id properties

## ◆ VAR_ES_PROP

#define VAR_ES_PROP | ( |  | num | ) | ex__catstr("es_prop", num)

list of the numth property for all edge sets

## ◆ VAR_ES_STAT

#define VAR_ES_STAT "es_status"

edge set status

## ◆ VAR_ES_VAR

#define VAR_ES_VAR | ( |  | num1,
|  |  | num2
| ) |  | ex__catstr2("vals_eset_var", num1, "es", num2)

## ◆ VAR_ESATTRIB

#define VAR_ESATTRIB | ( |  | num | ) | ex__catstr("esattrb", num)

## ◆ VAR_ESET_TAB

#define VAR_ESET_TAB "eset_var_tab"

edgeset variable truth table

## ◆ VAR_EXT_N_STAT

#define VAR_EXT_N_STAT "ext_n_stat"

## ◆ VAR_FA_PROP

#define VAR_FA_PROP | ( |  | num | ) | ex__catstr("fa_prop", num)

list of the numth property for all face blocks

## ◆ VAR_FACE_FS

#define VAR_FACE_FS | ( |  | num | ) | ex__catstr("face_fs", num)

list of elements in face set num

## ◆ VAR_FACE_MAP

#define VAR_FACE_MAP | ( |  | num | ) | ex__catstr("face_map", num)

the numth face map

## ◆ VAR_FACE_NUM_MAP

#define VAR_FACE_NUM_MAP "face_num_map"

face numbering map

## ◆ VAR_FACE_VAR

#define VAR_FACE_VAR | ( |  | num1,
|  |  | num2
| ) |  | ex__catstr2("vals_face_var", num1, "fb", num2)

values of face variable num1 in face block num2

## ◆ VAR_FACT_ELS

#define VAR_FACT_ELS | ( |  | num | ) | ex__catstr("dist_fact_els", num)

list of distribution factors in elem set num

## ◆ VAR_FACT_ES

#define VAR_FACT_ES | ( |  | num | ) | ex__catstr("dist_fact_es", num)

the distribution factors for each node in edge set num

## ◆ VAR_FACT_FS

#define VAR_FACT_FS | ( |  | num | ) | ex__catstr("dist_fact_fs", num)

the distribution factors for each node in face set num

## ◆ VAR_FACT_NS

#define VAR_FACT_NS | ( |  | num | ) | ex__catstr("dist_fact_ns", num)

list of distribution factors in node set num

## ◆ VAR_FACT_SS

#define VAR_FACT_SS | ( |  | num | ) | ex__catstr("dist_fact_ss", num)

the distribution factors for each node in side set num

## ◆ VAR_FAM_PROP

#define VAR_FAM_PROP | ( |  | num | ) | ex__catstr("fam_prop", num)

list of the numth property for all face maps

## ◆ VAR_FATTRIB

#define VAR_FATTRIB | ( |  | num | ) | ex__catstr("fattrb", num)

list of attributes for face block num

## ◆ VAR_FBCONN

#define VAR_FBCONN | ( |  | num | ) | ex__catstr("fbconn", num)

face connectivity for face block num

## ◆ VAR_FBEPEC

#define VAR_FBEPEC | ( |  | num | ) | ex__catstr("fbepecnt", num)

array containing number of entity per entity for n-sided face/element blocks

## ◆ VAR_FBLK_TAB

#define VAR_FBLK_TAB "face_var_tab"

face variable truth table

## ◆ VAR_FCONN

#define VAR_FCONN | ( |  | num | ) | ex__catstr("facconn", num)

face connectivity for element block num

## ◆ VAR_FILE_TYPE

#define VAR_FILE_TYPE "nem_ftype"

## ◆ VAR_FRAME_COORDS

#define VAR_FRAME_COORDS "frame_coordinates"

## ◆ VAR_FRAME_IDS

#define VAR_FRAME_IDS "frame_ids"

## ◆ VAR_FRAME_TAGS

#define VAR_FRAME_TAGS "frame_tags"

## ◆ VAR_FS_IDS

#define VAR_FS_IDS "fs_prop1"

face set id properties

## ◆ VAR_FS_PROP

#define VAR_FS_PROP | ( |  | num | ) | ex__catstr("fs_prop", num)

list of the numth property for all face sets

## ◆ VAR_FS_STAT

#define VAR_FS_STAT "fs_status"

face set status

## ◆ VAR_FS_VAR

#define VAR_FS_VAR | ( |  | num1,
|  |  | num2
| ) |  | ex__catstr2("vals_fset_var", num1, "fs", num2)

values of faceset variable num1 in faceset num2

## ◆ VAR_FSATTRIB

#define VAR_FSATTRIB | ( |  | num | ) | ex__catstr("fsattrb", num)

## ◆ VAR_FSET_TAB

#define VAR_FSET_TAB "fset_var_tab"

faceset variable truth table

## ◆ VAR_GLO_VAR

#define VAR_GLO_VAR "vals_glo_var"

values of global variables

## ◆ VAR_ID_ED_BLK

#define VAR_ID_ED_BLK "ed_prop1"

edge block ids props

## ◆ VAR_ID_EL_BLK

#define VAR_ID_EL_BLK "eb_prop1"

element block ids props

## ◆ VAR_ID_FA_BLK

#define VAR_ID_FA_BLK "fa_prop1"

face block ids props

## ◆ VAR_INFO

#define VAR_INFO "info_records"

information records

## ◆ VAR_INT_E_STAT

#define VAR_INT_E_STAT "int_e_stat"

## ◆ VAR_INT_N_STAT

#define VAR_INT_N_STAT "int_n_stat"

## ◆ VAR_MAP

#define VAR_MAP "elem_map"

element order map

## ◆ VAR_N_COMM_DATA_IDX

#define VAR_N_COMM_DATA_IDX "n_comm_data_idx"

## ◆ VAR_N_COMM_IDS

#define VAR_N_COMM_IDS "n_comm_ids"

## ◆ VAR_N_COMM_INFO_IDX

#define VAR_N_COMM_INFO_IDX "n_comm_info_idx"

## ◆ VAR_N_COMM_NIDS

#define VAR_N_COMM_NIDS "n_comm_nids"

## ◆ VAR_N_COMM_PROC

#define VAR_N_COMM_PROC "n_comm_proc"

## ◆ VAR_N_COMM_STAT

#define VAR_N_COMM_STAT "n_comm_stat"

## ◆ VAR_NAME_ATTRIB

#define VAR_NAME_ATTRIB | ( |  | num | ) | ex__catstr("attrib_name", num)

list of attribute names for element block num

## ◆ VAR_NAME_COOR

#define VAR_NAME_COOR "coor_names"

names of coordinates

## ◆ VAR_NAME_EATTRIB

#define VAR_NAME_EATTRIB | ( |  | num | ) | ex__catstr("eattrib_name", num)

list of attribute names for edge block num

## ◆ VAR_NAME_ED_BLK

#define VAR_NAME_ED_BLK "ed_names"

names of edge blocks

## ◆ VAR_NAME_EDG_VAR

#define VAR_NAME_EDG_VAR "name_edge_var"

names of edge variables

## ◆ VAR_NAME_EDM

#define VAR_NAME_EDM "edmap_names"

names of edge maps

## ◆ VAR_NAME_EL_BLK

#define VAR_NAME_EL_BLK "eb_names"

names of element blocks

## ◆ VAR_NAME_ELE_VAR

#define VAR_NAME_ELE_VAR "name_elem_var"

names of element variables

## ◆ VAR_NAME_ELS

#define VAR_NAME_ELS "els_names"

names of element sets

## ◆ VAR_NAME_ELSATTRIB

#define VAR_NAME_ELSATTRIB | ( |  | num | ) | ex__catstr("elsattrib_name", num)

## ◆ VAR_NAME_ELSET_VAR

#define VAR_NAME_ELSET_VAR "name_elset_var"

names of elemset variables

## ◆ VAR_NAME_EM

#define VAR_NAME_EM "emap_names"

names of element maps

## ◆ VAR_NAME_ES

#define VAR_NAME_ES "es_names"

names of edge sets

## ◆ VAR_NAME_ESATTRIB

#define VAR_NAME_ESATTRIB | ( |  | num | ) | ex__catstr("esattrib_name", num)

## ◆ VAR_NAME_ESET_VAR

#define VAR_NAME_ESET_VAR "name_eset_var"

values of edgeset variable num1 in edgeset num2
names of edgeset variables

## ◆ VAR_NAME_FA_BLK

#define VAR_NAME_FA_BLK "fa_names"

names of face blocks

## ◆ VAR_NAME_FAC_VAR

#define VAR_NAME_FAC_VAR "name_face_var"

names of face variables

## ◆ VAR_NAME_FAM

#define VAR_NAME_FAM "famap_names"

names of face maps

## ◆ VAR_NAME_FATTRIB

#define VAR_NAME_FATTRIB | ( |  | num | ) | ex__catstr("fattrib_name", num)

list of attribute names for face block num

## ◆ VAR_NAME_FS

#define VAR_NAME_FS "fs_names"

names of face sets

## ◆ VAR_NAME_FSATTRIB

#define VAR_NAME_FSATTRIB | ( |  | num | ) | ex__catstr("fsattrib_name", num)

## ◆ VAR_NAME_FSET_VAR

#define VAR_NAME_FSET_VAR "name_fset_var"

names of faceset variables

## ◆ VAR_NAME_GLO_VAR

#define VAR_NAME_GLO_VAR "name_glo_var"

names of global variables

## ◆ VAR_NAME_NATTRIB

#define VAR_NAME_NATTRIB "nattrib_name"

## ◆ VAR_NAME_NM

#define VAR_NAME_NM "nmap_names"

names of node maps

## ◆ VAR_NAME_NOD_VAR

#define VAR_NAME_NOD_VAR "name_nod_var"

names of nodal variables

## ◆ VAR_NAME_NS

#define VAR_NAME_NS "ns_names"

names of node sets

## ◆ VAR_NAME_NSATTRIB

#define VAR_NAME_NSATTRIB | ( |  | num | ) | ex__catstr("nsattrib_name", num)

## ◆ VAR_NAME_NSET_VAR

#define VAR_NAME_NSET_VAR "name_nset_var"

names of nodeset variables

## ◆ VAR_NAME_SS

#define VAR_NAME_SS "ss_names"

names of side sets

## ◆ VAR_NAME_SSATTRIB

#define VAR_NAME_SSATTRIB | ( |  | num | ) | ex__catstr("ssattrib_name", num)

## ◆ VAR_NAME_SSET_VAR

#define VAR_NAME_SSET_VAR "name_sset_var"

names of sideset variables

## ◆ VAR_NATTRIB

#define VAR_NATTRIB "nattrb"

## ◆ VAR_NM_PROP

#define VAR_NM_PROP | ( |  | num | ) | ex__catstr("nm_prop", num)

list of the numth property for all node maps

## ◆ VAR_NOD_VAR

#define VAR_NOD_VAR "vals_nod_var"

values of nodal variables

Deprecated:

## ◆ VAR_NOD_VAR_NEW

#define VAR_NOD_VAR_NEW | ( |  | num | ) | ex__catstr("vals_nod_var", num)

values of nodal variables

## ◆ VAR_NODE_MAP

#define VAR_NODE_MAP | ( |  | num | ) | ex__catstr("node_map", num)

the numth node map

## ◆ VAR_NODE_MAP_BOR

#define VAR_NODE_MAP_BOR "node_mapb"

## ◆ VAR_NODE_MAP_BOR_IDX

#define VAR_NODE_MAP_BOR_IDX "node_mapb_idx"

## ◆ VAR_NODE_MAP_EXT

#define VAR_NODE_MAP_EXT "node_mape"

## ◆ VAR_NODE_MAP_EXT_IDX

#define VAR_NODE_MAP_EXT_IDX "node_mape_idx"

## ◆ VAR_NODE_MAP_INT

#define VAR_NODE_MAP_INT "node_mapi"

## ◆ VAR_NODE_MAP_INT_IDX

#define VAR_NODE_MAP_INT_IDX "node_mapi_idx"

## ◆ VAR_NODE_NS

#define VAR_NODE_NS | ( |  | num | ) | ex__catstr("node_ns", num)

list of nodes in node set num

## ◆ VAR_NODE_NUM_MAP

#define VAR_NODE_NUM_MAP "node_num_map"

node numbering map

## ◆ VAR_NS_DF_CNT_GLOBAL

#define VAR_NS_DF_CNT_GLOBAL "ns_df_cnt_global"

## ◆ VAR_NS_IDS

#define VAR_NS_IDS "ns_prop1"

node set id properties

## ◆ VAR_NS_IDS_GLOBAL

#define VAR_NS_IDS_GLOBAL "ns_ids_global"

## ◆ VAR_NS_NODE_CNT_GLOBAL

#define VAR_NS_NODE_CNT_GLOBAL "ns_node_cnt_global"

## ◆ VAR_NS_PROP

#define VAR_NS_PROP | ( |  | num | ) | ex__catstr("ns_prop", num)

list of the numth property for all node sets

## ◆ VAR_NS_STAT

#define VAR_NS_STAT "ns_status"

node set status

## ◆ VAR_NS_VAR

#define VAR_NS_VAR | ( |  | num1,
|  |  | num2
| ) |  | ex__catstr2("vals_nset_var", num1, "ns", num2)

values of nodeset variable num1 in nodeset num2

## ◆ VAR_NSATTRIB

#define VAR_NSATTRIB | ( |  | num | ) | ex__catstr("nsattrb", num)

## ◆ VAR_NSET_TAB

#define VAR_NSET_TAB "nset_var_tab"

nodeset variable truth table

## ◆ VAR_ORNT_ES

#define VAR_ORNT_ES | ( |  | num | ) | ex__catstr("ornt_es", num)

list of orientations in the edge set.

## ◆ VAR_ORNT_FS

#define VAR_ORNT_FS | ( |  | num | ) | ex__catstr("ornt_fs", num)

list of sides in side set

## ◆ VAR_QA_TITLE

#define VAR_QA_TITLE "qa_records"

QA records

## ◆ VAR_SIDE_SS

#define VAR_SIDE_SS | ( |  | num | ) | ex__catstr("side_ss", num)

list of sides in side set

## ◆ VAR_SS_DF_CNT_GLOBAL

#define VAR_SS_DF_CNT_GLOBAL "ss_df_cnt_global"

## ◆ VAR_SS_IDS

#define VAR_SS_IDS "ss_prop1"

side set id properties

## ◆ VAR_SS_IDS_GLOBAL

#define VAR_SS_IDS_GLOBAL "ss_ids_global"

## ◆ VAR_SS_PROP

#define VAR_SS_PROP | ( |  | num | ) | ex__catstr("ss_prop", num)

list of the numth property for all side sets

## ◆ VAR_SS_SIDE_CNT_GLOBAL

#define VAR_SS_SIDE_CNT_GLOBAL "ss_side_cnt_global"

## ◆ VAR_SS_STAT

#define VAR_SS_STAT "ss_status"

side set status

## ◆ VAR_SS_VAR

#define VAR_SS_VAR | ( |  | num1,
|  |  | num2
| ) |  | ex__catstr2("vals_sset_var", num1, "ss", num2)

values of sideset variable num1 in sideset num2

## ◆ VAR_SSATTRIB

#define VAR_SSATTRIB | ( |  | num | ) | ex__catstr("ssattrb", num)

## ◆ VAR_SSET_TAB

#define VAR_SSET_TAB "sset_var_tab"

sideset variable truth table

## ◆ VAR_STAT_ECONN

#define VAR_STAT_ECONN "econn_status"

element block edge status

## ◆ VAR_STAT_ED_BLK

#define VAR_STAT_ED_BLK "ed_status"

edge block status

## ◆ VAR_STAT_EL_BLK

#define VAR_STAT_EL_BLK "eb_status"

element block status

## ◆ VAR_STAT_FA_BLK

#define VAR_STAT_FA_BLK "fa_status"

face block status

## ◆ VAR_STAT_FCONN

#define VAR_STAT_FCONN "fconn_status"

element block face status

## ◆ VAR_WHOLE_TIME

#define VAR_WHOLE_TIME "time_whole"

simulation times for whole time steps

## Typedef Documentation

## ◆ ex__coordinate_frame_type

typedef enum ex__coordinate_frame_type ex__coordinate_frame_type

## ◆ ex__element_type

typedef enum ex__element_type ex__element_type

## Enumeration Type Documentation

## ◆ ex__coordinate_frame_type

enum ex__coordinate_frame_type

Enumerator
EX_CF_RECTANGULAR |
EX_CF_CYLINDRICAL |
EX_CF_SPHERICAL |

## ◆ ex__element_type

enum ex__element_type

Enumerator
EX_EL_UNK | unknown entity
EX_EL_NULL_ELEMENT |
EX_EL_TRIANGLE | Triangle entity
EX_EL_QUAD | Quad entity
EX_EL_HEX | Hex entity
EX_EL_WEDGE | Wedge entity
EX_EL_TETRA | Tetra entity
EX_EL_TRUSS | Truss entity
EX_EL_BEAM | Beam entity
EX_EL_SHELL | Shell entity
EX_EL_SPHERE | Sphere entity
EX_EL_CIRCLE | Circle entity
EX_EL_TRISHELL | Triangular Shell entity
EX_EL_PYRAMID | Pyramid entity

## Function Documentation

## ◆ ex__add_file_item()

struct ex__file_item* ex__add_file_item | ( | int | exoid | ) |

## ◆ ex__catstr()

char* ex__catstr | ( | const char * | string,
|  | int | num
| ) |  |

ex__catstr - concatenate string/number (where number is converted to ASCII)

Undocumented:

## ◆ ex__catstr2()

char* ex__catstr2 | ( | const char * | string1,
|  | int | num1,
|  | const char * | string2,
|  | int | num2
| ) |  |

ex__catstr2 - concatenate string1num1string2num2

Undocumented:

## ◆ ex__check_file_type()

int ex__check_file_type | ( | const char * | path,
|  | int * | type
| ) |  |

Abort if exoid does not refer to valid file

Undocumented:

## ◆ ex__check_valid_file_id()

void ex__check_valid_file_id | ( | int | exoid,
|  | const char * | func
| ) |  |

## ◆ ex__check_version()

int ex__check_version | ( | int | run_version | ) |

## ◆ ex__comp_ws()

int ex__comp_ws | ( | int | exoid | ) |

ex__comp_ws() returns 4 (i.e. sizeof(float)) or 8 (i.e. sizeof(double)), depending on the value of floating point word size used to initialize the conversion facility for this file id (exoid).

Parameters

  exoid | integer which uniquely identifies the file of interest.

## ◆ ex__compress_variable()

void ex__compress_variable | ( | int | exoid,
|  | int | varid,
|  | int | type
| ) |  |

Undocumented:

## ◆ ex__conv_exit()

void ex__conv_exit | ( | int | exoid | ) |

ex__conv_exit() takes the structure identified by "exoid" out of the linked list which describes the files that ex_conv_array() knows how to convert.

Note
  it is absolutely necessary for ex__conv_exit() to be called after ncclose(), if the parameter used as "exoid" is the id returned from an ncopen() or nccreate() call, as netCDF reuses file ids! the best place to do this is ex_close(), which is where I did it.

Parameters

  exoid | integer which uniquely identifies the file of interest.

## ◆ ex__conv_init()

int ex__conv_init | ( | int | exoid,
|  | int * | comp_wordsize,
|  | int * | io_wordsize,
|  | int | file_wordsize,
|  | int | int64_status,
|  | int | is_parallel,
|  | int | is_hdf5,
|  | int | is_pnetcdf
| ) |  |

ex__conv_init() initializes the floating point conversion process.

Parameters

  exoid | an integer uniquely identifying the file of interest.
  comp_wordsize | compute floating point word size in the user's code. a zero value indicates that the user is requesting the default float size for the machine. The appropriate value is chosen and returned in comp_wordsize, and used in subsequent conversions. a valid but inappropriate for this parameter cannot be detected.
  io_wordsize | the desired floating point word size for a netCDF file. For an existing file, if this parameter doesn't match the word size of data already stored in the file, a fatal error is generated. a value of 0 for an existing file indicates that the word size of the file was not known a priori, so use whatever is in the file. a value of 0 for a new file means to use the default size, an NC_FLOAT (4 bytes). when a value of 0 is specified the actual value used is returned in io_wordsize.
  file_wordsize | floating point word size in an existing netCDF file. a value of 0 should be passed in for a new netCDF file.
  int64_status | the flags specifying how integer values should be stored on the database and how they should be passes through the api functions.
  is_parallel | 1 if parallel file; 0 if serial
  is_hdf5 | 1 if parallel netcdf-4 mode; 0 if not.
  is_pnetcdf | 1 if parallel PNetCDF file; 0 if not.

word size parameters are specified in bytes. valid values are 0, 4, and 8:

## ◆ ex__dim_num_entries_in_object()

char* ex__dim_num_entries_in_object | ( | ex_entity_type | obj_type,
|  | int | idx
| ) |  |

Undocumented:

## ◆ ex__dim_num_objects()

char* ex__dim_num_objects | ( | ex_entity_type | obj_type | ) |

Undocumented:

## ◆ ex__find_file_item()

struct ex__file_item* ex__find_file_item | ( | int | exoid | ) |

## ◆ ex__get_block_param()

int ex__get_block_param | ( | int | exoid,
|  | ex_entity_id | id,
|  | int | ndim,
|  | struct ex__elem_blk_parm * | elem_blk_parm
| ) |  |

## ◆ ex__get_counter_list()

struct ex__list_item** ex__get_counter_list | ( | ex_entity_type | obj_type | ) |

Undocumented:

## ◆ ex__get_cpu_ws()

int ex__get_cpu_ws | ( | void |  | ) |

Undocumented:

## ◆ ex__get_dimension()

int ex__get_dimension | ( | int | exoid,
|  | const char * | DIMENSION,
|  | const char * | label,
|  | size_t * | count,
|  | int * | dimid,
|  | const char * | routine
| ) |  |

Undocumented:

## ◆ ex__get_file_item()

int ex__get_file_item | ( | int | exoid,
|  | struct ex__list_item ** | list_ptr
| ) |  |

this routine accesses a structure to track and increment a counter for each open exodus file. it is designed to be used by the routines ex_put_elem_block(), and ex_put_set_param(), to get the number of element blocks, or a type of set, respectively, for an open exodus II file.

The list structure is used as follows:

## ptr --------—> list item structure

exodus file id item value (int) ptr to next (NULL if last)

NOTE: since netCDF reuses its file ids, and a user may open and close any number of files in one application, items must be taken out of the linked lists in each of the above routines. these should be called after nc_close().

## ◆ ex__get_file_type()

int ex__get_file_type | ( | int | exoid,
|  | char * | ftype
| ) |  |

## ◆ ex__get_glob_var_time()

int ex__get_glob_var_time | ( | int | exoid,
|  | int | glob_var_index,
|  | int | beg_time_step,
|  | int | end_time_step,
|  | void * | glob_var_vals
| ) |  |

The function ex_get_glob_var_time() reads the values of a single global variable through a specified number of time steps. Memory must be allocated for the global variable values array before this function is invoked.

Because global variables are floating point values, the application code must declare the array passed to be the appropriate type (float or double) to match the compute word size passed in ex_create() or ex_open().

Returns
  In case of an error, ex_get_glob_var_time() returns a negative number; a warning will return a positive number. Possible causes of errors include:
  - data file not properly opened with call to ex_create() or ex_open()
  - specified global variable does not exist.
  - a warning value is returned if no global variables are stored in the file.

Parameters

  | exoid | exodus file ID returned from a previous call to ex_create() or ex_open().
  | glob_var_index | The index of the desired global variable. The first variable has an index of 1.
  | beg_time_step | The beginning time step for which a global variable value is desired. This is not a time value but rather a time step number, as described under ex_put_time(). The first time step is 1.
  | end_time_step | The last time step for which a global variable value is desired. If negative, the last time step in the database will be used. The first time step is 1.
  [out] | glob_var_vals | Returned array of (end_time_step - beg_time_step + 1) values for the glob_var_index$^{th}$ global variable.

The following is an example of using this function:

int error, exoid, num_time_steps, var_index;
int beg_time, end_time;
float *var_values;
num_time_steps = ex_inquire_int(exoid, EX_INQ_TIME);
var_index = 1;
beg_time = 1;
end_time = -1;
var_values = (float *) calloc (num_time_steps, sizeof(float));
error = ex_get_glob_var_time(exoid, var_index, beg_time,
end_time, var_values);

## ◆ ex__get_glob_vars()

int ex__get_glob_vars | ( | int | exoid,
|  | int | time_step,
|  | int | num_glob_vars,
|  | void * | glob_var_vals
| ) |  |

Internal function. Do not use in client code.

## ◆ ex__get_name()

int ex__get_name | ( | int | exoid,
|  | int | varid,
|  | size_t | index,
|  | char * | name,
|  | int | name_size,
|  | ex_entity_type | obj_type,
|  | const char * | routine
| ) |  |

Undocumented:

## ◆ ex__get_names()

int ex__get_names | ( | int | exoid,
|  | int | varid,
|  | size_t | num_entity,
|  | char ** | names,
|  | ex_entity_type | obj_type,
|  | const char * | routine
| ) |  |

Undocumented:

## ◆ ex__get_nodal_var()

int ex__get_nodal_var | ( | int | exoid,
|  | int | time_step,
|  | int | nodal_var_index,
|  | int64_t | num_nodes,
|  | void * | nodal_var_vals
| ) |  |

Note
  This function is called internally by ex_get_var() to handle the reading of nodal variable values.

The function ex__get_nodal_var() reads the values of a single nodal variable for a single time step. Memory must be allocated for the nodal variable values array before this function is invoked.

Because nodal variables are floating point values, the application code must declare the array passed to be the appropriate type (float or double) to match the compute word size passed in ex_create() or ex_open().

Returns
  In case of an error, ex__get_nodal_var() returns a negative number; a warning will return a positive number. Possible causes of errors include:
  - data file not properly opened with call to ex_create() or ex_open()
  - specified nodal variable does not exist.
  - a warning value is returned if no nodal variables are stored in the file.

Parameters

  [in] | exoid | exodus file ID returned from a previous call to ex_create() or ex_open().
  [in] | time_step | The time step, as described under ex_put_time(), at which the nodal variable values are desired. This is essentially an index (in the time dimension) into the nodal variable values array stored in the database. The first time step is 1.
  [in] | nodal_var_index | The index of the desired nodal variable. The first variable has an index of 1.
  [in] | num_nodes | The number of nodal points.
  [out] | nodal_var_vals | Returned array of num_nodes values of the nodal_var_index-th nodal variable for the time_step-th time step.

For example, the following demonstrates how this function would be used:

int num_nodes, time_step, var_index;
float *var_values;
/* read the second nodal variable at the first time step */
time_step = 1;
var_index = 2;
var_values = (float *) calloc (num_nodes, sizeof(float));
error = ex_get_nodal_var(exoid, time_step, var_index, num_nodes,
var_values);

## ◆ ex__get_nodal_var_time()

int ex__get_nodal_var_time | ( | int | exoid,
|  | int | nodal_var_index,
|  | int64_t | node_number,
|  | int | beg_time_step,
|  | int | end_time_step,
|  | void * | nodal_var_vals
| ) |  |

The function ex_get_nodal_var_time() reads the values of a nodal variable for a single node through a specified number of time steps. Memory must be allocated for the nodal variable values array before this function is invoked.

Because nodal variables are floating point values, the application code must declare the array passed to be the appropriate type (float or `‘double’') to match the compute word size passed in ex_create() or ex_open().

Returns
  In case of an error, ex_get_nodal_var_time() returns a negative number; a warning will return a positive number. Possible causes of errors include:
  - specified nodal variable does not exist.
  - a warning value is returned if no nodal variables are stored in the file.

Parameters

  [in] | exoid | exodus file ID returned from a previous call to ex_create() or ex_open().
  [in] | nodal_var_index | The index of the desired nodal variable. The first variable has an index of 1.
  [in] | node_number | The internal ID (see Section LocalNodeIds) of the desired node. The first node is 1.
  [in] | beg_time_step | The beginning time step for which a nodal variable value is desired. This is not a time value but rather a time step number, as described under ex_put_time(). The first time step is 1.
  [in] | end_time_step | The last time step for which a nodal variable value is desired. If negative, the last time step in the database will be used. The first time step is 1.
  [out] | nodal_var_vals | Returned array of(end_time_step {-} beg_time_step +1) values of the node_number-th node for the nodal_var_index-th nodal variable.

For example, the following code segment will read the values of the first nodal variable for node number one for all time steps stored in the data file:

int num_time_steps, var_index, node_num, beg_time, end_time, error, exoid;
float *var_values;
/* determine how many time steps are stored */
num_time_steps = ex_inquire_int(exoid, EX_INQ_TIME);
/* read a nodal variable through time */
var_values = (float *) calloc (num_time_steps, sizeof(float));
var_index = 1; node_num = 1; beg_time = 1; end_time = -1;
error = ex_get_var_time(exoid, EX_NODAL, var_index, node_num, beg_time,
end_time, var_values);

## ◆ ex__get_partial_nodal_var()

int ex__get_partial_nodal_var | ( | int | exoid,
|  | int | time_step,
|  | int | nodal_var_index,
|  | int64_t | start_node,
|  | int64_t | num_nodes,
|  | void * | var_vals
| ) |  |

Note
  This function is called internally by ex_get_partial_var() to handle the reading of nodal variable values.

## ◆ ex__get_stat_ptr()

struct ex__obj_stats* ex__get_stat_ptr | ( | int | exoid,
|  | struct ex__obj_stats ** | obj_ptr
| ) |  |

this routine returns a pointer to a structure containing the ids of element blocks, node sets, or side sets according to exoid; if there is not a structure that matches the exoid, one is created

## ◆ ex__handle_mode()

int ex__handle_mode | ( | unsigned int | my_mode,
|  | int | is_parallel,
|  | int | run_version
| ) |  |

Undocumented:

## ◆ ex__id_lkup()

int ex__id_lkup | ( | int | exoid,
|  | ex_entity_type | id_type,
|  | ex_entity_id | num
| ) |  |

Undocumented:

## ◆ ex__inc_file_item()

int ex__inc_file_item | ( | int | exoid,
|  | struct ex__list_item ** | list_ptr
| ) |  |

this routine sets up a structure to track and increment a counter for each open exodus file. it is designed to be used by the routines ex_put_elem_block() and ex_put_set_param(), to keep track of the number of element blocks, and each type of set, respectively, for each open exodus II file.

The list structure is used as follows:

## ptr --------—> list item structure

exodus file id item value (int) ptr to next (NULL if last)

NOTE: since netCDF reuses its file ids, and a user may open and close any number of files in one application, items must be taken out of the linked lists in each of the above routines. these should be called after ncclose().

## ◆ ex__iqsort()

void ex__iqsort | ( | int | v[],
|  | int | iv[],
|  | int | N
| ) |  |

The following 'indexed qsort' routine is modified from Sedgewicks algorithm It selects the pivot based on the median of the left, right, and center values to try to avoid degenerate cases ocurring when a single value is chosen. It performs a quicksort on intervals down to the EX_QSORT_CUTOFF size and then performs a final insertion sort on the almost sorted final array. Based on data in Sedgewick, the EX_QSORT_CUTOFF value should be between 5 and 20.

See Sedgewick for further details Define `DEBUG_QSORT` at the top of this file and recompile to compile in code that verifies that the array is sorted.

NOTE: The 'int' implementation below assumes that both the items being sorted and the number of items being sorted are both representable as 'int'.

## ◆ ex__iqsort64()

void ex__iqsort64 | ( | int64_t | v[],
|  | int64_t | iv[],
|  | int64_t | N
| ) |  |

See also
  ex__iqsort()

## ◆ ex__is_parallel()

int ex__is_parallel | ( | int | exoid | ) |

ex__is_parallel() returns 1 (true) or 0 (false) depending on whether the file was opened in parallel or serial/file-per-processor mode. Note that in this case parallel assumes the output of a single file, not a parallel run using file-per-processor.

Parameters

  exoid | integer which uniquely identifies the file of interest.

## ◆ ex__leavedef()

int ex__leavedef | ( | int | exoid,
|  | const char * | call_rout
| ) |  |

Undocumented:

## ◆ ex__name_of_map()

char* ex__name_of_map | ( | ex_entity_type | map_type,
|  | int | map_index
| ) |  |

Undocumented:

## ◆ ex__name_var_of_object()

char* ex__name_var_of_object | ( | ex_entity_type | obj_type,
|  | int | i,
|  | int | j
| ) |  |

Undocumented:

## ◆ ex__populate_header()

int ex__populate_header | ( | int | exoid,
|  | const char * | path,
|  | int | my_mode,
|  | int | is_parallel,
|  | int * | comp_ws,
|  | int * | io_ws
| ) |  |

Undocumented:

## ◆ ex__put_name()

int ex__put_name | ( | int | exoid,
|  | int | varid,
|  | size_t | index,
|  | const char * | name,
|  | ex_entity_type | obj_type,
|  | const char * | subtype,
|  | const char * | routine
| ) |  |

Undocumented:

## ◆ ex__put_names()

int ex__put_names | ( | int | exoid,
|  | int | varid,
|  | size_t | num_entity,
|  | char ** | names,
|  | ex_entity_type | obj_type,
|  | const char * | subtype,
|  | const char * | routine
| ) |  |

Undocumented:

## ◆ ex__put_nemesis_version()

int ex__put_nemesis_version | ( | int | exoid | ) |

## ◆ ex__put_nodal_var()

int ex__put_nodal_var | ( | int | exoid,
|  | int | time_step,
|  | int | nodal_var_index,
|  | int64_t | num_nodes,
|  | const void * | nodal_var_vals
| ) |  |

Note
  This function is called internally by ex_put_var() to handle the writing of nodal variable values.

The function ex__put_nodal_var() writes the values of a single nodal variable for a single time step. The function ex_put_variable_param() must be invoked before this call is made.

Because nodal variables are floating point values, the application code must declare the array passed to be the appropriate type (float or double) to match the compute word size passed in ex_create() or ex_open().

Returns
  In case of an error, ex__put_nodal_var() returns a negative number; a warning will return a positive number. Possible causes of errors include:
  - data file not properly opened with call to ex_create() or ex_open()
  - data file opened for read only.
  - data file not initialized properly with call to ex_put_init().
  - ex_put_variable_param() not called previously specifying the number of nodal variables.

Parameters

  [in] | exoid | exodus file ID returned from a previous call to ex_create() or ex_open().
  [in] | time_step | The time step number, as described under ex_put_time(). This is essentially a counter that is incremented when results variables are output. The first time step is 1.
  [in] | nodal_var_index | The index of the nodal variable. The first variable has an index of 1.
  [in] | num_nodes | The number of nodal points.
  [in] | nodal_var_vals | Array of num_nodes values of the nodal_var_index-th nodal variable for the time_step-th time step.

As an example, the following code segment writes all the nodal variables for a single time step:

int num_nod_vars, num_nodes, error, exoid, time_step;
float *nodal_var_vals;
/* write nodal variables */
nodal_var_vals = (float *) calloc(num_nodes, sizeof(float));
for (k=1; k <= num_nod_vars; k++) {
for (j=0; j < num_nodes; j++) {
/* application code fills in this array */
nodal_var_vals[j] = 10.0;
}
error = ex_put_nodal_var(exoid, time_step, k, num_nodes,
nodal_var_vals);
}

## ◆ ex__put_partial_nodal_var()

int ex__put_partial_nodal_var | ( | int | exoid,
|  | int | time_step,
|  | int | nodal_var_index,
|  | int64_t | start_node,
|  | int64_t | num_nodes,
|  | const void * | nodal_var_vals
| ) |  |

Note
  This function is called internally by ex_put_partial_var() to handle the reading of nodal variable values.

writes the values of a single nodal variable for a partial block at one single time step to the database; assume the first time step and nodal variable index is 1

Parameters

  exoid | exodus file id
  time_step | whole time step number
  nodal_var_index | index of desired nodal variable
  start_node | index of first node to write data for (1-based)
  num_nodes | number of nodal points
  nodal_var_vals | array of nodal variable values

## ◆ ex__reset_error_status()

void ex__reset_error_status | ( | void |  | ) |

Undocumented:

## ◆ ex__rm_file_item()

void ex__rm_file_item | ( | int | exoid,
|  | struct ex__list_item ** | list_ptr
| ) |  |

this routine removes a structure to track and increment a counter for each open exodus file.

The list structure is used as follows:

## ptr --------—> list item structure

exodus file id item value (int) ptr to next (NULL if last)

NOTE: since netCDF reuses its file ids, and a user may open and close any number of files in one application, items must be taken out of the linked lists in each of the above routines. these should be called after ncclose().

## ◆ ex__rm_stat_ptr()

void ex__rm_stat_ptr | ( | int | exoid,
|  | struct ex__obj_stats ** | obj_ptr
| ) |  |

this routine removes a pointer to a structure containing the ids of element blocks, node sets, or side sets according to exoid; this is necessary to clean up because netCDF reuses file ids; should be called from ex_close

## ◆ ex__trim()

void ex__trim | ( | char * | name | ) |

Undocumented:

## ◆ ex__update_max_name_length()

void ex__update_max_name_length | ( | int | exoid,
|  | int | length
| ) |  |

Undocumented:

## ◆ nc_flt_code()

nc_type nc_flt_code | ( | int | exoid | ) |

nc_flt_code() returns either NC_FLOAT or NC_DOUBLE, based on the parameters with which ex__conv_init() was called. nc_flt_code() is used as the nc_type parameter on ncvardef() calls that define floating point variables.

"exoid" is some integer which uniquely identifies the file of interest.

## ◆ ne__check_file_version()

int ne__check_file_version | ( | int | neid | ) |

## ◆ ne__id_lkup()

int ne__id_lkup | ( | int | exoid,
|  | const char * | ne_var_name,
|  | int64_t * | idx,
|  | ex_entity_id | ne_var_id
| ) |  |

## Variable Documentation

## ◆ ex__default_max_name_length

int ex__default_max_name_length

For output databases, the maximum length of any entity, variable, property, attribute, or coordinate name to be written (not including the NULL terminator). If a name is longer than this value, a warning message will be output to stderr and the name will be truncated. Must be set (via call to ex_set_max_name_length()(exoid, int len) prior to calling ex_create().

For input databases, the size of the name arrays that the client code will be passing to API routines that retrieve names (not including the NULL terminator). This defaults to 32 for compatibility with older clients. The value used at the time of creation of the database can be queried by ex_inquire with the EX_INQ_DB_MAX_ALLOWED_NAME_LENGTH argument. The current value for this variable can be queried with EX_INQ_MAX_READ_NAME_LENGTH argument.

Note that this is a global setting for all databases. If you are accessing multiple databases, they will all use the same value.

## ◆ exoII_eb

struct ex__obj_stats* exoII_eb

## ◆ exoII_ed

struct ex__obj_stats* exoII_ed

## ◆ exoII_edm

struct ex__obj_stats* exoII_edm

## ◆ exoII_els

struct ex__obj_stats* exoII_els

## ◆ exoII_em

struct ex__obj_stats* exoII_em

## ◆ exoII_es

struct ex__obj_stats* exoII_es

## ◆ exoII_fa

struct ex__obj_stats* exoII_fa

## ◆ exoII_fam

struct ex__obj_stats* exoII_fam

## ◆ exoII_fs

struct ex__obj_stats* exoII_fs

## ◆ exoII_nm

struct ex__obj_stats* exoII_nm

## ◆ exoII_ns

struct ex__obj_stats* exoII_ns

## ◆ exoII_ss

struct ex__obj_stats* exoII_ss

ex_inquire_int
int64_t ex_inquire_int(int exoid, ex_inquiry req_info)
Definition: ex_inquire.c:954
error
error
Definition: ex_put_elem_var_tab.c:115
ex_get_glob_var_time
SEACAS_DEPRECATED int ex_get_glob_var_time(int exoid, int glob_var_index, int beg_time_step, int end_time_step, void *glob_var_vals)
Definition: ex_get_glob_var_time.c:103
ex__obj_stats::exoid
int exoid
Definition: exodusII_int.h:666
ex_get_var_time
int ex_get_var_time(int exoid, ex_entity_type var_type, int var_index, int64_t id, int beg_time_step, int end_time_step, void *var_vals)
Definition: ex_get_var_time.c:70
EX_NODAL
Definition: exodusII.h:254
EX_INQ_TIME
Definition: exodusII.h:172
ex_get_nodal_var
SEACAS_DEPRECATED int ex_get_nodal_var(int exoid, int time_step, int nodal_var_index, int64_t num_nodes, void *nodal_var_vals)
Definition: ex_get_nodal_var.c:100
ex_put_nodal_var
SEACAS_DEPRECATED int ex_put_nodal_var(int exoid, int time_step, int nodal_var_index, int64_t num_nodes, const void *nodal_var_vals)
Definition: ex_put_nodal_var.c:103