Exodus 8.24
Loading...
Searching...
No Matches
Internal Functions and Defines
Collaboration diagram for Internal Functions and Defines:

Topics

 Variables controlling storage of reduction variables
 

Data Structures

struct  exi_file_item
 
struct  exi_elem_blk_parm
 
struct  exi_list_item
 
struct  exi_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_FUNC_UNLOCK()
 
#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 ATT_NEM_API_VERSION   "nemesis_api_version"
 
#define ATT_NEM_FILE_VERSION   "nemesis_file_version"
 
#define ATT_PROCESSOR_INFO   "processor_info"
 
#define ATT_LAST_WRITTEN_TIME   "last_written_time"
 
#define DIM_NUM_ASSEMBLY   "num_assembly"
 
#define DIM_NUM_BLOB   "num_blob"
 
#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 DIM_NUM_ENTITY_ASSEMBLY(num)   exi_catstr("num_entity_assembly", num)
 
#define VAR_ENTITY_ASSEMBLY(num)   exi_catstr("assembly_entity", num)
 
#define DIM_NUM_VALUES_BLOB(num)   exi_catstr("num_values_blob", num)
 
#define VAR_ENTITY_BLOB(num)   exi_catstr("blob_entity", num)
 
#define EX_ATTRIBUTE_TYPE   "_type"
 
#define EX_ATTRIBUTE_TYPENAME   "_typename"
 
#define EX_ATTRIBUTE_NAME   "_name"
 
#define EX_ATTRIBUTE_ID   "_id"
 
#define ATT_NAME_ELB   "elem_type"
 
#define DIM_NUM_EL_IN_BLK(num)   exi_catstr("num_el_in_blk", num)
 
#define DIM_NUM_NOD_PER_EL(num)   exi_catstr("num_nod_per_el", num)
 
#define DIM_NUM_ATT_IN_BLK(num)   exi_catstr("num_att_in_blk", num)
 
#define DIM_NUM_ED_IN_EBLK(num)   exi_catstr("num_ed_in_blk", num)
 
#define DIM_NUM_NOD_PER_ED(num)   exi_catstr("num_nod_per_ed", num)
 
#define DIM_NUM_EDG_PER_EL(num)   exi_catstr("num_edg_per_el", num)
 
#define DIM_NUM_ATT_IN_EBLK(num)   exi_catstr("num_att_in_eblk", num)
 
#define DIM_NUM_FA_IN_FBLK(num)   exi_catstr("num_fa_in_blk", num)
 
#define DIM_NUM_NOD_PER_FA(num)   exi_catstr("num_nod_per_fa", num)
 
#define DIM_NUM_FAC_PER_EL(num)   exi_catstr("num_fac_per_el", num)
 
#define DIM_NUM_ATT_IN_FBLK(num)   exi_catstr("num_att_in_fblk", num)
 
#define VAR_CONN(num)   exi_catstr("connect", num)
 
#define VAR_EBEPEC(num)   exi_catstr("ebepecnt", num)
 
#define VAR_ATTRIB(num)   exi_catstr("attrib", num)
 
#define VAR_NAME_ATTRIB(num)   exi_catstr("attrib_name", num)
 
#define VAR_EB_PROP(num)   exi_catstr("eb_prop", num)
 
#define VAR_ECONN(num)   exi_catstr("edgconn", num)
 
#define VAR_EBCONN(num)   exi_catstr("ebconn", num)
 
#define VAR_EATTRIB(num)   exi_catstr("eattrb", num)
 
#define VAR_NAME_EATTRIB(num)   exi_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)   exi_catstr("nsattrb", num)
 
#define VAR_NAME_NSATTRIB(num)   exi_catstr("nsattrib_name", num)
 
#define DIM_NUM_ATT_IN_NS(num)   exi_catstr("num_att_in_ns", num)
 
#define VAR_SSATTRIB(num)   exi_catstr("ssattrb", num)
 
#define VAR_NAME_SSATTRIB(num)   exi_catstr("ssattrib_name", num)
 
#define DIM_NUM_ATT_IN_SS(num)   exi_catstr("num_att_in_ss", num)
 
#define VAR_ESATTRIB(num)   exi_catstr("esattrb", num)
 
#define VAR_NAME_ESATTRIB(num)   exi_catstr("esattrib_name", num)
 
#define DIM_NUM_ATT_IN_ES(num)   exi_catstr("num_att_in_es", num)
 
#define VAR_FSATTRIB(num)   exi_catstr("fsattrb", num)
 
#define VAR_NAME_FSATTRIB(num)   exi_catstr("fsattrib_name", num)
 
#define DIM_NUM_ATT_IN_FS(num)   exi_catstr("num_att_in_fs", num)
 
#define VAR_ELSATTRIB(num)   exi_catstr("elsattrb", num)
 
#define VAR_NAME_ELSATTRIB(num)   exi_catstr("elsattrib_name", num)
 
#define DIM_NUM_ATT_IN_ELS(num)   exi_catstr("num_att_in_els", num)
 
#define VAR_ED_PROP(num)   exi_catstr("ed_prop", num)
 
#define VAR_FCONN(num)   exi_catstr("facconn", num)
 
#define VAR_FBCONN(num)   exi_catstr("fbconn", num)
 
#define VAR_FBEPEC(num)   exi_catstr("fbepecnt", num)
 
#define VAR_FATTRIB(num)   exi_catstr("fattrb", num)
 
#define VAR_NAME_FATTRIB(num)   exi_catstr("fattrib_name", num)
 
#define VAR_FA_PROP(num)   exi_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)   exi_catstr("num_side_ss", num)
 
#define DIM_NUM_DF_SS(num)   exi_catstr("num_df_ss", num)
 
#define VAR_FACT_SS(num)   exi_catstr("dist_fact_ss", num)
 
#define VAR_ELEM_SS(num)   exi_catstr("elem_ss", num)
 
#define VAR_SIDE_SS(num)   exi_catstr("side_ss", num)
 
#define VAR_SS_PROP(num)   exi_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)   exi_catstr("num_edge_es", num)
 
#define DIM_NUM_DF_ES(num)   exi_catstr("num_df_es", num)
 
#define VAR_FACT_ES(num)   exi_catstr("dist_fact_es", num)
 
#define VAR_EDGE_ES(num)   exi_catstr("edge_es", num)
 
#define VAR_ORNT_ES(num)   exi_catstr("ornt_es", num)
 
#define VAR_ES_PROP(num)   exi_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)   exi_catstr("num_face_fs", num)
 
#define DIM_NUM_DF_FS(num)   exi_catstr("num_df_fs", num)
 
#define VAR_FACT_FS(num)   exi_catstr("dist_fact_fs", num)
 
#define VAR_FACE_FS(num)   exi_catstr("face_fs", num)
 
#define VAR_ORNT_FS(num)   exi_catstr("ornt_fs", num)
 
#define VAR_FS_PROP(num)   exi_catstr("fs_prop", num)
 
#define DIM_NUM_ELS   "num_elem_sets"
 
#define DIM_NUM_ELE_ELS(num)   exi_catstr("num_ele_els", num)
 
#define DIM_NUM_DF_ELS(num)   exi_catstr("num_df_els", num)
 
#define VAR_ELS_STAT   "els_status"
 
#define VAR_ELS_IDS   "els_prop1"
 
#define VAR_ELEM_ELS(num)   exi_catstr("elem_els", num)
 
#define VAR_FACT_ELS(num)   exi_catstr("dist_fact_els", num)
 
#define VAR_ELS_PROP(num)   exi_catstr("els_prop", num)
 
#define DIM_NUM_NS   "num_node_sets"
 
#define DIM_NUM_NOD_NS(num)   exi_catstr("num_nod_ns", num)
 
#define DIM_NUM_DF_NS(num)   exi_catstr("num_df_ns", num)
 
#define VAR_NS_STAT   "ns_status"
 
#define VAR_NS_IDS   "ns_prop1"
 
#define VAR_NODE_NS(num)   exi_catstr("node_ns", num)
 
#define VAR_FACT_NS(num)   exi_catstr("dist_fact_ns", num)
 
#define VAR_NS_PROP(num)   exi_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_ASSEMBLY_TAB   "assembly_var_tab"
 
#define VAR_BLOB_TAB   "blob_var_tab"
 
#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)   exi_catstr("vals_nod_var", num)
 
#define DIM_NUM_ASSEMBLY_VAR   "num_assembly_var"
 
#define VAR_NAME_ASSEMBLY_VAR   "name_assembly_var"
 
#define VAR_ASSEMBLY_VAR(num1, num2)   exi_catstr2("vals_assembly_var", num1, "assembly", num2)
 
#define DIM_NUM_BLOB_VAR   "num_blob_var"
 
#define VAR_NAME_BLOB_VAR   "name_blob_var"
 
#define VAR_BLOB_VAR(num1, num2)   exi_catstr2("vals_blob_var", num1, "blob", num2)
 
#define DIM_NUM_ELE_VAR   "num_elem_var"
 
#define VAR_NAME_ELE_VAR   "name_elem_var"
 
#define VAR_ELEM_VAR(num1, num2)   exi_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)   exi_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)   exi_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)   exi_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)   exi_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)   exi_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)   exi_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)   exi_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_N1   "blob_entity"
 
#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)   exi_catstr("elem_map", num)
 
#define VAR_EM_PROP(num)   exi_catstr("em_prop", num)
 
#define DIM_NUM_EDM   "num_edge_maps"
 
#define VAR_EDGE_MAP(num)   exi_catstr("edge_map", num)
 
#define VAR_EDM_PROP(num)   exi_catstr("edm_prop", num)
 
#define DIM_NUM_FAM   "num_face_maps"
 
#define VAR_FACE_MAP(num)   exi_catstr("face_map", num)
 
#define VAR_FAM_PROP(num)   exi_catstr("fam_prop", num)
 
#define DIM_NUM_NM   "num_node_maps"
 
#define VAR_NODE_MAP(num)   exi_catstr("node_map", num)
 
#define VAR_NM_PROP(num)   exi_catstr("nm_prop", num)
 
#define VAR_ASSEMBLY_PROP(num)   exi_catstr("assembly_prop", num)
 
#define VAR_BLOB_PROP(num)   exi_catstr("blob_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"
 
#define EXODUS_EXPORT   extern
 

Typedefs

typedef enum exi_element_type exi_element_type
 
typedef enum exi_coordinate_frame_type exi_coordinate_frame_type
 

Enumerations

enum  exi_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  exi_coordinate_frame_type { EX_CF_RECTANGULAR = 1 , EX_CF_CYLINDRICAL = 2 , EX_CF_SPHERICAL = 3 }
 

Functions

void exi_reset_error_status (void)
 
void exi_iqsort (int v[], int iv[], size_t N)
 
void exi_iqsort64 (int64_t v[], int64_t iv[], int64_t N)
 
char * exi_catstr (const char *, int)
 
char * exi_catstr2 (const char *, int, const char *, int)
 
char * exi_dim_num_entries_in_object (ex_entity_type, int)
 
char * exi_dim_num_objects (ex_entity_type obj_type)
 
char * exi_name_var_of_object (ex_entity_type, int, int)
 
char * exi_name_red_var_of_object (ex_entity_type, int)
 
char * exi_name_of_map (ex_entity_type, int)
 
int exi_conv_init (int exoid, int *comp_wordsize, int *io_wordsize, int file_wordsize, int int64_status, bool is_parallel, bool is_hdf5, bool is_pnetcdf, bool is_write)
 
void exi_conv_exit (int exoid)
 
nc_type nc_flt_code (int exoid)
 
int exi_comp_ws (int exoid)
 
int exi_get_cpu_ws (void)
 
int exi_is_parallel (int exoid)
 
struct exi_list_item ** exi_get_counter_list (ex_entity_type obj_type)
 
int exi_get_file_item (int, struct exi_list_item **)
 
int exi_inc_file_item (int, struct exi_list_item **)
 
void exi_rm_file_item (int, struct exi_list_item **)
 
struct exi_file_itemexi_find_file_item (int exoid)
 
struct exi_file_itemexi_add_file_item (int exoid)
 
struct exi_obj_statsexi_get_stat_ptr (int exoid, struct exi_obj_stats **obj_ptr)
 
void exi_rm_stat_ptr (int exoid, struct exi_obj_stats **obj_ptr)
 
void exi_set_compact_storage (int exoid, int varid)
 
void exi_compress_variable (int exoid, int varid, int type)
 
int exi_id_lkup (int exoid, ex_entity_type id_type, ex_entity_id num)
 
int exi_check_valid_file_id (int exoid, const char *func)
 
int exi_check_multiple_open (const char *path, int mode, const char *func)
 
int exi_check_file_type (const char *path, int *type)
 
char * exi_canonicalize_filename (const char *path)
 
int exi_get_dimension (int exoid, const char *DIMENSION, const char *label, size_t *count, int *dimid, const char *routine)
 
int exi_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 exi_put_nodal_var_multi_time (int exoid, int nodal_var_index, int64_t num_nodes, int beg_time_step, int end_time_step, const void *nodal_var_vals)
 
int exi_get_nodal_var_multi_time (int exoid, int nodal_var_index, int64_t node_number, int beg_time_step, int end_time_step, void *nodal_var_vals)
 
int exi_put_nodal_var_time (int exoid, int nodal_var_index, int64_t num_nodes, int beg_time_step, int end_time_step, const void *nodal_var_vals)
 
int exi_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 exi_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 exi_get_glob_vars (int exoid, int time_step, int num_glob_vars, void *glob_var_vals)
 
int exi_get_glob_vars_multi_time (int exoid, int num_glob_vars, int beg_time_step, int end_time_step, void *glob_var_vals)
 
int exi_get_glob_var_time (int exoid, int glob_var_index, int beg_time_step, int end_time_step, void *glob_var_vals)
 
int exi_get_name (int exoid, int varid, size_t index, char *name, int name_size, ex_entity_type obj_type, const char *routine)
 
int exi_get_names (int exoid, int varid, size_t num_entity, char **names, ex_entity_type obj_type, const char *routine)
 
int exi_put_name (int exoid, int varid, size_t index, const char *name, ex_entity_type obj_type, const char *subtype, const char *routine)
 
int exi_put_names (int exoid, int varid, size_t num_entity, char *const *names, ex_entity_type obj_type, const char *subtype, const char *routine)
 
void exi_trim (char *name)
 
void exi_update_max_name_length (int exoid, int length)
 
int exi_leavedef (int exoid, const char *call_rout)
 
int exi_check_version (int run_version)
 
int exi_handle_mode (unsigned int my_mode, int is_parallel, int run_version)
 
int exi_populate_header (int exoid, const char *path, int my_mode, int is_parallel, int *comp_ws, int *io_ws)
 
int exi_get_block_param (int exoid, ex_entity_id id, int ndim, struct exi_elem_blk_parm *elem_blk_parm)
 
int exi_get_file_type (int exoid, char *ftype)
 
int exi_put_nemesis_version (int exoid)
 
int exi_put_homogenous_block_params (int exoid, size_t block_count, const struct ex_block *blocks)
 
int nei_check_file_version (int exoid)
 
int nei_id_lkup (int exoid, const char *ne_var_name, int64_t *idx, ex_entity_id ne_var_id)
 

Variables

struct exi_obj_statsexoII_eb
 
struct exi_obj_statsexoII_ed
 
struct exi_obj_statsexoII_fa
 
struct exi_obj_statsexoII_ns
 
struct exi_obj_statsexoII_es
 
struct exi_obj_statsexoII_fs
 
struct exi_obj_statsexoII_ss
 
struct exi_obj_statsexoII_els
 
struct exi_obj_statsexoII_em
 
struct exi_obj_statsexoII_edm
 
struct exi_obj_statsexoII_fam
 
struct exi_obj_statsexoII_nm
 
int exi_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_LAST_WRITTEN_TIME

#define ATT_LAST_WRITTEN_TIME   "last_written_time"

◆ 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_NEM_API_VERSION

#define ATT_NEM_API_VERSION   "nemesis_api_version"

◆ ATT_NEM_FILE_VERSION

#define ATT_NEM_FILE_VERSION   "nemesis_file_version"

◆ ATT_PROCESSOR_INFO

#define ATT_PROCESSOR_INFO   "processor_info"

◆ 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_N1

#define DIM_N1   "blob_entity"

◆ DIM_N4

#define DIM_N4   "four"

◆ DIM_NCNT_CMAP

#define DIM_NCNT_CMAP   "ncnt_cmap"

◆ DIM_NUM_ASSEMBLY

#define DIM_NUM_ASSEMBLY   "num_assembly"

number of assemblies

◆ DIM_NUM_ASSEMBLY_VAR

#define DIM_NUM_ASSEMBLY_VAR   "num_assembly_var"

number of assembly variables

◆ DIM_NUM_ATT_IN_BLK

#define DIM_NUM_ATT_IN_BLK ( num)    exi_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)    exi_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)    exi_catstr("num_att_in_els", num)

◆ DIM_NUM_ATT_IN_ES

#define DIM_NUM_ATT_IN_ES ( num)    exi_catstr("num_att_in_es", num)

◆ DIM_NUM_ATT_IN_FBLK

#define DIM_NUM_ATT_IN_FBLK ( num)    exi_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)    exi_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)    exi_catstr("num_att_in_ns", num)

◆ DIM_NUM_ATT_IN_SS

#define DIM_NUM_ATT_IN_SS ( num)    exi_catstr("num_att_in_ss", num)

◆ DIM_NUM_BLOB

#define DIM_NUM_BLOB   "num_blob"

number of blobs

◆ DIM_NUM_BLOB_VAR

#define DIM_NUM_BLOB_VAR   "num_blob_var"

number of blob variables

◆ 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)    exi_catstr("num_df_els", num)

number of distribution factors in element set num

◆ DIM_NUM_DF_ES

#define DIM_NUM_DF_ES ( num)    exi_catstr("num_df_es", num)

number of distribution factors in edge set num

◆ DIM_NUM_DF_FS

#define DIM_NUM_DF_FS ( num)    exi_catstr("num_df_fs", num)

number of distribution factors in face set num

◆ DIM_NUM_DF_NS

#define DIM_NUM_DF_NS ( num)    exi_catstr("num_df_ns", num)

number of distribution factors in node set num

◆ DIM_NUM_DF_SS

#define DIM_NUM_DF_SS ( num)    exi_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)    exi_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)    exi_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)    exi_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)    exi_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)    exi_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_ENTITY_ASSEMBLY

#define DIM_NUM_ENTITY_ASSEMBLY ( num)    exi_catstr("num_entity_assembly", num)

◆ 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)    exi_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)    exi_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)    exi_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)    exi_catstr("num_nod_ns", num)

number of nodes in node set num

◆ DIM_NUM_NOD_PER_ED

#define DIM_NUM_NOD_PER_ED ( num)    exi_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)    exi_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)    exi_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)    exi_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_NUM_VALUES_BLOB

#define DIM_NUM_VALUES_BLOB ( num)    exi_catstr("num_values_blob", num)

◆ 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_ATTRIBUTE_ID

#define EX_ATTRIBUTE_ID   "_id"

◆ EX_ATTRIBUTE_NAME

#define EX_ATTRIBUTE_NAME   "_name"

◆ EX_ATTRIBUTE_TYPE

#define EX_ATTRIBUTE_TYPE   "_type"

◆ EX_ATTRIBUTE_TYPENAME

#define EX_ATTRIBUTE_TYPENAME   "_typename"

◆ 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:
do { \
exi_reset_error_status(); \
} while (0)

◆ EX_FUNC_ENTER_INT

#define EX_FUNC_ENTER_INT ( )

◆ EX_FUNC_LEAVE

#define EX_FUNC_LEAVE ( error)    return error

◆ EX_FUNC_UNLOCK

#define EX_FUNC_UNLOCK ( )

◆ 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

◆ EXODUS_EXPORT

#define EXODUS_EXPORT   extern

◆ MAX_VAR_NAME_LENGTH

#define MAX_VAR_NAME_LENGTH   32

Internal use only

◆ VAR_ASSEMBLY_PROP

#define VAR_ASSEMBLY_PROP ( num)    exi_catstr("assembly_prop", num)

list of the numth property for all assemblies

◆ VAR_ASSEMBLY_TAB

#define VAR_ASSEMBLY_TAB   "assembly_var_tab"

assembly variable truth table

◆ VAR_ASSEMBLY_VAR

#define VAR_ASSEMBLY_VAR ( num1,
num2 )   exi_catstr2("vals_assembly_var", num1, "assembly", num2)

◆ VAR_ATTRIB

#define VAR_ATTRIB ( num)    exi_catstr("attrib", num)

list of attributes for element block num

◆ VAR_BLOB_PROP

#define VAR_BLOB_PROP ( num)    exi_catstr("blob_prop", num)

◆ VAR_BLOB_TAB

#define VAR_BLOB_TAB   "blob_var_tab"

blob variable truth table

◆ VAR_BLOB_VAR

#define VAR_BLOB_VAR ( num1,
num2 )   exi_catstr2("vals_blob_var", num1, "blob", num2)

◆ 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)    exi_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)    exi_catstr("eattrb", num)

list of attributes for edge block num

◆ VAR_EB_PROP

#define VAR_EB_PROP ( num)    exi_catstr("eb_prop", num)

list of the numth property for all element blocks

◆ VAR_EBCONN

#define VAR_EBCONN ( num)    exi_catstr("ebconn", num)

edge connectivity for edge block num

◆ VAR_EBEPEC

#define VAR_EBEPEC ( num)    exi_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)    exi_catstr("edgconn", num)

edge connectivity for element block num

◆ VAR_ED_PROP

#define VAR_ED_PROP ( num)    exi_catstr("ed_prop", num)

list of the numth property for all edge blocks

◆ VAR_EDGE_ES

#define VAR_EDGE_ES ( num)    exi_catstr("edge_es", num)

list of edges in edge set num

◆ VAR_EDGE_MAP

#define VAR_EDGE_MAP ( num)    exi_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 )   exi_catstr2("vals_edge_var", num1, "eb", num2)

values of edge variable num1 in edge block num2

◆ VAR_EDM_PROP

#define VAR_EDM_PROP ( num)    exi_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)    exi_catstr("elem_els", num)

list of elements in elem set num

◆ VAR_ELEM_MAP

#define VAR_ELEM_MAP ( num)    exi_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)    exi_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 )   exi_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)    exi_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 )   exi_catstr2("vals_elset_var", num1, "es", num2)

values of elemset variable num1 in elemset num2

◆ VAR_ELSATTRIB

#define VAR_ELSATTRIB ( num)    exi_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)    exi_catstr("em_prop", num)

list of the numth property for all element maps

◆ VAR_ENTITY_ASSEMBLY

#define VAR_ENTITY_ASSEMBLY ( num)    exi_catstr("assembly_entity", num)

◆ VAR_ENTITY_BLOB

#define VAR_ENTITY_BLOB ( num)    exi_catstr("blob_entity", num)

◆ VAR_ES_IDS

#define VAR_ES_IDS   "es_prop1"

edge set id properties

◆ VAR_ES_PROP

#define VAR_ES_PROP ( num)    exi_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 )   exi_catstr2("vals_eset_var", num1, "es", num2)

◆ VAR_ESATTRIB

#define VAR_ESATTRIB ( num)    exi_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)    exi_catstr("fa_prop", num)

list of the numth property for all face blocks

◆ VAR_FACE_FS

#define VAR_FACE_FS ( num)    exi_catstr("face_fs", num)

list of elements in face set num

◆ VAR_FACE_MAP

#define VAR_FACE_MAP ( num)    exi_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 )   exi_catstr2("vals_face_var", num1, "fb", num2)

values of face variable num1 in face block num2

◆ VAR_FACT_ELS

#define VAR_FACT_ELS ( num)    exi_catstr("dist_fact_els", num)

list of distribution factors in elem set num

◆ VAR_FACT_ES

#define VAR_FACT_ES ( num)    exi_catstr("dist_fact_es", num)

the distribution factors for each node in edge set num

◆ VAR_FACT_FS

#define VAR_FACT_FS ( num)    exi_catstr("dist_fact_fs", num)

the distribution factors for each node in face set num

◆ VAR_FACT_NS

#define VAR_FACT_NS ( num)    exi_catstr("dist_fact_ns", num)

list of distribution factors in node set num

◆ VAR_FACT_SS

#define VAR_FACT_SS ( num)    exi_catstr("dist_fact_ss", num)

the distribution factors for each node in side set num

◆ VAR_FAM_PROP

#define VAR_FAM_PROP ( num)    exi_catstr("fam_prop", num)

list of the numth property for all face maps

◆ VAR_FATTRIB

#define VAR_FATTRIB ( num)    exi_catstr("fattrb", num)

list of attributes for face block num

◆ VAR_FBCONN

#define VAR_FBCONN ( num)    exi_catstr("fbconn", num)

face connectivity for face block num

◆ VAR_FBEPEC

#define VAR_FBEPEC ( num)    exi_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)    exi_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)    exi_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 )   exi_catstr2("vals_fset_var", num1, "fs", num2)

values of faceset variable num1 in faceset num2

◆ VAR_FSATTRIB

#define VAR_FSATTRIB ( num)    exi_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_ASSEMBLY_VAR

#define VAR_NAME_ASSEMBLY_VAR   "name_assembly_var"

names of assembly variables

◆ VAR_NAME_ATTRIB

#define VAR_NAME_ATTRIB ( num)    exi_catstr("attrib_name", num)

list of attribute names for element block num

◆ VAR_NAME_BLOB_VAR

#define VAR_NAME_BLOB_VAR   "name_blob_var"

names of blob variables

◆ VAR_NAME_COOR

#define VAR_NAME_COOR   "coor_names"

names of coordinates

◆ VAR_NAME_EATTRIB

#define VAR_NAME_EATTRIB ( num)    exi_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)    exi_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)    exi_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)    exi_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)    exi_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)    exi_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)    exi_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)    exi_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)    exi_catstr("vals_nod_var", num)

values of nodal variables

◆ VAR_NODE_MAP

#define VAR_NODE_MAP ( num)    exi_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)    exi_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)    exi_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 )   exi_catstr2("vals_nset_var", num1, "ns", num2)

values of nodeset variable num1 in nodeset num2

◆ VAR_NSATTRIB

#define VAR_NSATTRIB ( num)    exi_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)    exi_catstr("ornt_es", num)

list of orientations in the edge set.

◆ VAR_ORNT_FS

#define VAR_ORNT_FS ( num)    exi_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)    exi_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)    exi_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 )   exi_catstr2("vals_sset_var", num1, "ss", num2)

values of sideset variable num1 in sideset num2

◆ VAR_SSATTRIB

#define VAR_SSATTRIB ( num)    exi_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

◆ exi_coordinate_frame_type

◆ exi_element_type

Enumeration Type Documentation

◆ exi_coordinate_frame_type

Enumerator
EX_CF_RECTANGULAR 
EX_CF_CYLINDRICAL 
EX_CF_SPHERICAL 

◆ exi_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

◆ exi_add_file_item()

struct exi_file_item * exi_add_file_item ( int exoid)

◆ exi_canonicalize_filename()

char * exi_canonicalize_filename ( const char * path)
extern

◆ exi_catstr()

char * exi_catstr ( const char * string,
int num )
extern

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

Undocumented

◆ exi_catstr2()

char * exi_catstr2 ( const char * string1,
int num1,
const char * string2,
int num2 )
extern

exi_catstr2 - concatenate string1num1string2num2

Undocumented

◆ exi_check_file_type()

int exi_check_file_type ( const char * path,
int * type )
extern

◆ exi_check_multiple_open()

int exi_check_multiple_open ( const char * path,
int mode,
const char * func )
extern

Return fatal error if exoid does not refer to valid file

◆ exi_check_valid_file_id()

int exi_check_valid_file_id ( int exoid,
const char * func )
extern

◆ exi_check_version()

int exi_check_version ( int run_version)
extern

◆ exi_comp_ws()

int exi_comp_ws ( int exoid)
extern

exi_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
exoidinteger which uniquely identifies the file of interest.

◆ exi_compress_variable()

void exi_compress_variable ( int exoid,
int varid,
int type )
extern

◆ exi_conv_exit()

void exi_conv_exit ( int exoid)
extern

exi_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 exi_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
exoidinteger which uniquely identifies the file of interest.

◆ exi_conv_init()

int exi_conv_init ( int exoid,
int * comp_wordsize,
int * io_wordsize,
int file_wordsize,
int int64_status,
bool is_parallel,
bool is_hdf5,
bool is_pnetcdf,
bool is_write )
extern

exi_conv_init() initializes the floating point conversion process.

Parameters
exoidan integer uniquely identifying the file of interest.
comp_wordsizecompute 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_wordsizethe 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_wordsizefloating point word size in an existing netCDF file. a value of 0 should be passed in for a new netCDF file.
int64_statusthe flags specifying how integer values should be stored on the database and how they should be passes through the api functions.
is_parallel1 if parallel file; 0 if serial
is_hdf51 if parallel netcdf-4 mode; 0 if not.
is_pnetcdf1 if parallel PNetCDF file; 0 if not.
is_write1 if output file; 0 if readonly

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

◆ exi_dim_num_entries_in_object()

char * exi_dim_num_entries_in_object ( ex_entity_type obj_type,
int idx )
extern

◆ exi_dim_num_objects()

char * exi_dim_num_objects ( ex_entity_type obj_type)
extern

◆ exi_find_file_item()

struct exi_file_item * exi_find_file_item ( int exoid)

◆ exi_get_block_param()

int exi_get_block_param ( int exoid,
ex_entity_id id,
int ndim,
struct exi_elem_blk_parm * elem_blk_parm )
extern

◆ exi_get_counter_list()

struct exi_list_item ** exi_get_counter_list ( ex_entity_type obj_type)
extern

◆ exi_get_cpu_ws()

int exi_get_cpu_ws ( void )
extern

◆ exi_get_dimension()

int exi_get_dimension ( int exoid,
const char * DIMENSION,
const char * label,
size_t * count,
int * dimid,
const char * routine )
extern

◆ exi_get_file_item()

int exi_get_file_item ( int exoid,
struct exi_list_item ** list_ptr )
extern

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().

◆ exi_get_file_type()

int exi_get_file_type ( int exoid,
char * ftype )
extern

◆ exi_get_glob_var_time()

int exi_get_glob_var_time ( int exoid,
int glob_var_index,
int beg_time_step,
int end_time_step,
void * glob_var_vals )
extern

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
exoidexodus file ID returned from a previous call to ex_create() or ex_open().
glob_var_indexThe index of the desired global variable. The first variable has an index of 1.
beg_time_stepThe 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_stepThe 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_valsReturned 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);
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:76
@ EX_INQ_TIME
Definition exodusII.h:156
int64_t ex_inquire_int(int exoid, ex_inquiry req_info)
Definition ex_inquire.c:1021

◆ exi_get_glob_vars()

int exi_get_glob_vars ( int exoid,
int time_step,
int num_glob_vars,
void * glob_var_vals )
extern

Internal function. Do not use in client code.

◆ exi_get_glob_vars_multi_time()

int exi_get_glob_vars_multi_time ( int exoid,
int num_glob_vars,
int beg_time_step,
int end_time_step,
void * glob_var_vals )
extern

Internal function. Do not use in client code.

◆ exi_get_name()

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

◆ exi_get_names()

int exi_get_names ( int exoid,
int varid,
size_t num_names,
char ** names,
ex_entity_type obj_type,
const char * routine )
extern

◆ exi_get_nodal_var_multi_time()

int exi_get_nodal_var_multi_time ( int exoid,
int nodal_var_index,
int64_t num_nodes,
int beg_time_step,
int end_time_step,
void * nodal_var_vals )
extern
Note
This function is called internally by ex_get_var_multi_time() to handle the reading of nodal variable values.

The function exi_get_nodal_var_multi_time() reads the values of a single nodal variable for a one or more 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, exi_get_nodal_var_multi_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 nodal variable does not exist.
  • a warning value is returned if no nodal variables are stored in the file.
Parameters
[in]exoidexodus file ID returned from a previous call to ex_create() or ex_open().
[in]nodal_var_indexThe index of the desired nodal variable. The first variable has an index of 1.
[in]num_nodesThe number of nodal points.
[in]beg_time_stepThe first time step to get values for.
[in]end_time_stepThe last time step to get values for.
[out]nodal_var_valsReturned array of num_nodes values of the nodal_var_index-th nodal variable for the desired timesteps.

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

int num_nodes, time_step, var_index;
float *var_values;
\comment{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 = exi_get_nodal_var_multi_time(exoid, var_index, num_nodes,
time_step, time_step, var_values);
int exi_get_nodal_var_multi_time(int exoid, int nodal_var_index, int64_t node_number, int beg_time_step, int end_time_step, void *nodal_var_vals)
Definition ex__get_nodal_var_multi_time.c:67

◆ exi_get_nodal_var_time()

int exi_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 )
extern

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]exoidexodus file ID returned from a previous call to ex_create() or ex_open().
[in]nodal_var_indexThe index of the desired nodal variable. The first variable has an index of 1.
[in]node_numberThe internal ID (see Section LocalNodeIds) of the desired node. The first node is 1.
[in]beg_time_stepThe 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_stepThe 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_valsReturned 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;
\comment{determine how many time steps are stored}
num_time_steps = ex_inquire_int(exoid, EX_INQ_TIME);
\comment{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_NODAL
Definition exodusII.h:260
int ex_get_var_time(int exoid, ex_entity_type var_type, int var_index, ex_entity_id id, int beg_time_step, int end_time_step, void *var_vals)
Definition ex_get_var_time.c:44

◆ exi_get_partial_nodal_var()

int exi_get_partial_nodal_var ( int exoid,
int time_step,
int nodal_var_index,
int64_t start_node,
int64_t num_nodes,
void * var_vals )
extern
Note
This function is called internally by ex_get_partial_var() to handle the reading of nodal variable values.

◆ exi_get_stat_ptr()

struct exi_obj_stats * exi_get_stat_ptr ( int exoid,
struct exi_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

◆ exi_handle_mode()

int exi_handle_mode ( unsigned int my_mode,
int is_parallel,
int run_version )
extern

◆ exi_id_lkup()

int exi_id_lkup ( int exoid,
ex_entity_type id_type,
ex_entity_id num )
extern

◆ exi_inc_file_item()

int exi_inc_file_item ( int exoid,
struct exi_list_item ** list_ptr )
extern

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().

◆ exi_iqsort()

void exi_iqsort ( int v[],
int iv[],
size_t N )
extern

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 occurring 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'.

◆ exi_iqsort64()

void exi_iqsort64 ( int64_t v[],
int64_t iv[],
int64_t N )
extern
See also
exi_iqsort()

◆ exi_is_parallel()

int exi_is_parallel ( int exoid)
extern

exi_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
exoidinteger which uniquely identifies the file of interest.

◆ exi_leavedef()

int exi_leavedef ( int exoid,
const char * call_rout )
extern

◆ exi_name_of_map()

char * exi_name_of_map ( ex_entity_type map_type,
int map_index )
extern

◆ exi_name_red_var_of_object()

char * exi_name_red_var_of_object ( ex_entity_type obj_type,
int id )
extern

◆ exi_name_var_of_object()

char * exi_name_var_of_object ( ex_entity_type obj_type,
int i,
int j )
extern

◆ exi_populate_header()

int exi_populate_header ( int exoid,
const char * path,
int my_mode,
int is_parallel,
int * comp_ws,
int * io_ws )
extern

◆ exi_put_homogenous_block_params()

int exi_put_homogenous_block_params ( int exoid,
size_t block_count,
const struct ex_block * blocks )
extern

Internal function used to put a homogeneous blocks array that contains all blocks of that specified type that will be defined. Permits some optimizations and safer for N->1 parallel. Arbitrary polyhedra are handled in more general routine; not here.

◆ exi_put_name()

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

◆ exi_put_names()

int exi_put_names ( int exoid,
int varid,
size_t num_names,
char *const * names,
ex_entity_type obj_type,
const char * subtype,
const char * routine )
extern

◆ exi_put_nemesis_version()

int exi_put_nemesis_version ( int exoid)
extern

◆ exi_put_nodal_var_multi_time()

int exi_put_nodal_var_multi_time ( int exoid,
int nodal_var_index,
int64_t num_nodes,
int beg_time_step,
int end_time_step,
const void * nodal_var_vals )
extern

◆ exi_put_nodal_var_time()

int exi_put_nodal_var_time ( int exoid,
int nodal_var_index,
int64_t num_nodes,
int beg_time_step,
int end_time_step,
const void * nodal_var_vals )
extern
Note
This function is called internally by ex_put_var_time() to handle the writing of nodal variable values.

The function exi_put_nodal_var_time() writes the values of a single nodal variable for multiple time steps. 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, exi_put_nodal_var() returns a negative number; a warning will return a positive number. Possible causes of errors include:
Parameters
[in]exoidexodus file ID returned from a previous call to ex_create() or ex_open().
[in]nodal_var_indexThe index of the nodal variable. The first variable has an index of 1.
[in]num_nodesThe number of nodal points.
[in]beg_time_stepThe beginning time step number, as described under ex_put_time(). This is counter that is incremented when results variables are output. The first time step is 1.
[in]end_time_stepThe ending time step number, as described under ex_put_time(). This is counter that is incremented when results variables are output. The first time step is 1.
[in]nodal_var_valsArray 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;
\comment{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++) {
\comment{application code fills in this array}
nodal_var_vals[j] = 10.0;
}
error = ex_put_var_time(exoid, EX_NODAL, k, 0, num_nodes, beg_time_step, end_time_step
nodal_var_vals);
}

◆ exi_put_partial_nodal_var()

int exi_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 )
extern
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
exoidexodus file id
time_stepwhole time step number
nodal_var_indexindex of desired nodal variable
start_nodeindex of first node to write data for (1-based)
num_nodesnumber of nodal points
nodal_var_valsarray of nodal variable values

◆ exi_reset_error_status()

void exi_reset_error_status ( void )

◆ exi_rm_file_item()

void exi_rm_file_item ( int exoid,
struct exi_list_item ** list_ptr )
extern

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().

◆ exi_rm_stat_ptr()

void exi_rm_stat_ptr ( int exoid,
struct exi_obj_stats ** obj_ptr )
extern

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

◆ exi_set_compact_storage()

void exi_set_compact_storage ( int exoid,
int varid )
extern

◆ exi_trim()

void exi_trim ( char * name)
extern

◆ exi_update_max_name_length()

void exi_update_max_name_length ( int exoid,
int length )
extern

◆ nc_flt_code()

nc_type nc_flt_code ( int exoid)
extern

nc_flt_code() returns either NC_FLOAT or NC_DOUBLE, based on the parameters with which exi_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.

◆ nei_check_file_version()

int nei_check_file_version ( int exoid)
extern

◆ nei_id_lkup()

int nei_id_lkup ( int exoid,
const char * ne_var_name,
int64_t * idx,
ex_entity_id ne_var_id )
extern

Variable Documentation

◆ exi_default_max_name_length

int exi_default_max_name_length
extern

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 exi_obj_stats* exoII_eb
extern

◆ exoII_ed

struct exi_obj_stats* exoII_ed
extern

◆ exoII_edm

struct exi_obj_stats* exoII_edm
extern

◆ exoII_els

struct exi_obj_stats* exoII_els
extern

◆ exoII_em

struct exi_obj_stats* exoII_em
extern

◆ exoII_es

struct exi_obj_stats* exoII_es
extern

◆ exoII_fa

struct exi_obj_stats* exoII_fa
extern

◆ exoII_fam

struct exi_obj_stats* exoII_fam
extern

◆ exoII_fs

struct exi_obj_stats* exoII_fs
extern

◆ exoII_nm

struct exi_obj_stats* exoII_nm
extern

◆ exoII_ns

struct exi_obj_stats* exoII_ns
extern

◆ exoII_ss

struct exi_obj_stats* exoII_ss
extern