Exodus 8.24
|
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) |
#define | EX_FUNC_VOID() |
#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) |
#define | VAR_ENTITY_ASSEMBLY(num) |
#define | DIM_NUM_VALUES_BLOB(num) |
#define | VAR_ENTITY_BLOB(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) |
#define | DIM_NUM_NOD_PER_EL(num) |
#define | DIM_NUM_ATT_IN_BLK(num) |
#define | DIM_NUM_ED_IN_EBLK(num) |
#define | DIM_NUM_NOD_PER_ED(num) |
#define | DIM_NUM_EDG_PER_EL(num) |
#define | DIM_NUM_ATT_IN_EBLK(num) |
#define | DIM_NUM_FA_IN_FBLK(num) |
#define | DIM_NUM_NOD_PER_FA(num) |
#define | DIM_NUM_FAC_PER_EL(num) |
#define | DIM_NUM_ATT_IN_FBLK(num) |
#define | VAR_CONN(num) |
#define | VAR_EBEPEC(num) |
#define | VAR_ATTRIB(num) |
#define | VAR_NAME_ATTRIB(num) |
#define | VAR_EB_PROP(num) |
#define | VAR_ECONN(num) |
#define | VAR_EBCONN(num) |
#define | VAR_EATTRIB(num) |
#define | VAR_NAME_EATTRIB(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) |
#define | VAR_NAME_NSATTRIB(num) |
#define | DIM_NUM_ATT_IN_NS(num) |
#define | VAR_SSATTRIB(num) |
#define | VAR_NAME_SSATTRIB(num) |
#define | DIM_NUM_ATT_IN_SS(num) |
#define | VAR_ESATTRIB(num) |
#define | VAR_NAME_ESATTRIB(num) |
#define | DIM_NUM_ATT_IN_ES(num) |
#define | VAR_FSATTRIB(num) |
#define | VAR_NAME_FSATTRIB(num) |
#define | DIM_NUM_ATT_IN_FS(num) |
#define | VAR_ELSATTRIB(num) |
#define | VAR_NAME_ELSATTRIB(num) |
#define | DIM_NUM_ATT_IN_ELS(num) |
#define | VAR_ED_PROP(num) |
#define | VAR_FCONN(num) |
#define | VAR_FBCONN(num) |
#define | VAR_FBEPEC(num) |
#define | VAR_FATTRIB(num) |
#define | VAR_NAME_FATTRIB(num) |
#define | VAR_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) |
#define | DIM_NUM_DF_SS(num) |
#define | VAR_FACT_SS(num) |
#define | VAR_ELEM_SS(num) |
#define | VAR_SIDE_SS(num) |
#define | VAR_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) |
#define | DIM_NUM_DF_ES(num) |
#define | VAR_FACT_ES(num) |
#define | VAR_EDGE_ES(num) |
#define | VAR_ORNT_ES(num) |
#define | VAR_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) |
#define | DIM_NUM_DF_FS(num) |
#define | VAR_FACT_FS(num) |
#define | VAR_FACE_FS(num) |
#define | VAR_ORNT_FS(num) |
#define | VAR_FS_PROP(num) |
#define | DIM_NUM_ELS "num_elem_sets" |
#define | DIM_NUM_ELE_ELS(num) |
#define | DIM_NUM_DF_ELS(num) |
#define | VAR_ELS_STAT "els_status" |
#define | VAR_ELS_IDS "els_prop1" |
#define | VAR_ELEM_ELS(num) |
#define | VAR_FACT_ELS(num) |
#define | VAR_ELS_PROP(num) |
#define | DIM_NUM_NS "num_node_sets" |
#define | DIM_NUM_NOD_NS(num) |
#define | DIM_NUM_DF_NS(num) |
#define | VAR_NS_STAT "ns_status" |
#define | VAR_NS_IDS "ns_prop1" |
#define | VAR_NODE_NS(num) |
#define | VAR_FACT_NS(num) |
#define | VAR_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) |
#define | DIM_NUM_ASSEMBLY_VAR "num_assembly_var" |
#define | VAR_NAME_ASSEMBLY_VAR "name_assembly_var" |
#define | VAR_ASSEMBLY_VAR(num1, num2) |
#define | DIM_NUM_BLOB_VAR "num_blob_var" |
#define | VAR_NAME_BLOB_VAR "name_blob_var" |
#define | VAR_BLOB_VAR(num1, num2) |
#define | DIM_NUM_ELE_VAR "num_elem_var" |
#define | VAR_NAME_ELE_VAR "name_elem_var" |
#define | VAR_ELEM_VAR(num1, num2) |
#define | DIM_NUM_EDG_VAR "num_edge_var" |
#define | VAR_NAME_EDG_VAR "name_edge_var" |
#define | VAR_EDGE_VAR(num1, num2) |
#define | DIM_NUM_FAC_VAR "num_face_var" |
#define | VAR_NAME_FAC_VAR "name_face_var" |
#define | VAR_FACE_VAR(num1, num2) |
#define | DIM_NUM_NSET_VAR "num_nset_var" |
#define | VAR_NAME_NSET_VAR "name_nset_var" |
#define | VAR_NS_VAR(num1, num2) |
#define | DIM_NUM_ESET_VAR "num_eset_var" |
#define | VAR_NAME_ESET_VAR "name_eset_var" |
#define | VAR_ES_VAR(num1, num2) |
#define | DIM_NUM_FSET_VAR "num_fset_var" |
#define | VAR_NAME_FSET_VAR "name_fset_var" |
#define | VAR_FS_VAR(num1, num2) |
#define | DIM_NUM_SSET_VAR "num_sset_var" |
#define | VAR_NAME_SSET_VAR "name_sset_var" |
#define | VAR_SS_VAR(num1, num2) |
#define | DIM_NUM_ELSET_VAR "num_elset_var" |
#define | VAR_NAME_ELSET_VAR "name_elset_var" |
#define | VAR_ELS_VAR(num1, 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) |
#define | VAR_EM_PROP(num) |
#define | DIM_NUM_EDM "num_edge_maps" |
#define | VAR_EDGE_MAP(num) |
#define | VAR_EDM_PROP(num) |
#define | DIM_NUM_FAM "num_face_maps" |
#define | VAR_FACE_MAP(num) |
#define | VAR_FAM_PROP(num) |
#define | DIM_NUM_NM "num_node_maps" |
#define | VAR_NODE_MAP(num) |
#define | VAR_NM_PROP(num) |
#define | VAR_ASSEMBLY_PROP(num) |
#define | VAR_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 | |
int | exi_get_varid (int exoid, ex_entity_type obj_type, ex_entity_id id) |
EXODUS_EXPORT 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_item * | exi_find_file_item (int exoid) |
struct exi_file_item * | exi_add_file_item (int exoid) |
struct exi_obj_stats * | exi_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_redef (int exoid, const char *call_func) |
int | exi_persist_redef (int exoid, const char *call_func) |
int | exi_leavedef (int exoid, const char *call_rout) |
int | exi_persist_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_stats * | exoII_eb |
struct exi_obj_stats * | exoII_ed |
struct exi_obj_stats * | exoII_fa |
struct exi_obj_stats * | exoII_ns |
struct exi_obj_stats * | exoII_es |
struct exi_obj_stats * | exoII_fs |
struct exi_obj_stats * | exoII_ss |
struct exi_obj_stats * | exoII_els |
struct exi_obj_stats * | exoII_em |
struct exi_obj_stats * | exoII_edm |
struct exi_obj_stats * | exoII_fam |
struct exi_obj_stats * | exoII_nm |
int | exi_default_max_name_length |
Variables and functions used internally in the library
#define ATT_API_VERSION "api_version" |
the EXODUS api vers number
#define ATT_API_VERSION_BLANK "api version" |
the EXODUS api vers # used for db version 2.01 and earlier
#define ATT_FILESIZE "file_size" |
1=large, 0=normal
#define ATT_FLT_WORDSIZE "floating_point_word_size" |
word size of floating point numbers in file
#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
#define ATT_INT64_STATUS "int64_status" |
#define ATT_LAST_WRITTEN_TIME "last_written_time" |
#define ATT_MAX_NAME_LENGTH "maximum_name_length" |
#define ATT_NAME_ELB "elem_type" |
element type names for each element block
#define ATT_NEM_API_VERSION "nemesis_api_version" |
#define ATT_NEM_FILE_VERSION "nemesis_file_version" |
#define ATT_PROCESSOR_INFO "processor_info" |
#define ATT_PROP_NAME "name" |
name attached to element block, node set, side set, element map, or map properties
#define ATT_TITLE "title" |
the database title
#define ATT_VERSION "version" |
the EXODUS file vers number
#define DIM_ECNT_CMAP "ecnt_cmap" |
#define DIM_LIN "len_line" |
general dimension of length MAX_LINE_LENGTH used for long strings
#define DIM_N1 "blob_entity" |
#define DIM_N4 "four" |
#define DIM_NCNT_CMAP "ncnt_cmap" |
#define DIM_NUM_ASSEMBLY "num_assembly" |
number of assemblies
#define DIM_NUM_ASSEMBLY_VAR "num_assembly_var" |
number of assembly variables
#define DIM_NUM_ATT_IN_BLK | ( | num | ) |
number of attributes in element block num
#define DIM_NUM_ATT_IN_EBLK | ( | num | ) |
number of attributes in edge block num
#define DIM_NUM_ATT_IN_ELS | ( | num | ) |
#define DIM_NUM_ATT_IN_ES | ( | num | ) |
#define DIM_NUM_ATT_IN_FBLK | ( | num | ) |
number of attributes in face block num
#define DIM_NUM_ATT_IN_FS | ( | num | ) |
#define DIM_NUM_ATT_IN_NBLK "num_att_in_nblk" |
#define DIM_NUM_ATT_IN_NS | ( | num | ) |
#define DIM_NUM_ATT_IN_SS | ( | num | ) |
#define DIM_NUM_BLOB "num_blob" |
number of blobs
#define DIM_NUM_BLOB_VAR "num_blob_var" |
number of blob variables
#define DIM_NUM_BOR_ELEMS "num_bor_elem" |
#define DIM_NUM_BOR_NODES "num_bor_node" |
#define DIM_NUM_CFRAME9 "num_cframes_9" |
#define DIM_NUM_CFRAMES "num_cframes" |
#define DIM_NUM_DF_ELS | ( | num | ) |
number of distribution factors in element set num
#define DIM_NUM_DF_ES | ( | num | ) |
number of distribution factors in edge set num
#define DIM_NUM_DF_FS | ( | num | ) |
number of distribution factors in face set num
#define DIM_NUM_DF_NS | ( | num | ) |
number of distribution factors in node set num
#define DIM_NUM_DF_SS | ( | num | ) |
number of distribution factors in side set num
#define DIM_NUM_DIM "num_dim" |
number of dimensions; 2- or 3-d
#define DIM_NUM_E_CMAPS "num_e_cmaps" |
#define DIM_NUM_ED_BLK "num_ed_blk" |
number of edge blocks
#define DIM_NUM_ED_IN_EBLK | ( | num | ) |
number of edges in edge block num
#define DIM_NUM_EDG_PER_EL | ( | num | ) |
number of edges per element in element block num
#define DIM_NUM_EDG_VAR "num_edge_var" |
number of edge variables
#define DIM_NUM_EDGE "num_edge" |
number of edges (over all blks)
#define DIM_NUM_EDGE_ES | ( | num | ) |
number of edges in edge set num
#define DIM_NUM_EDM "num_edge_maps" |
number of edge maps
#define DIM_NUM_EL_BLK "num_el_blk" |
number of element blocks
#define DIM_NUM_EL_IN_BLK | ( | num | ) |
number of elements in element block num
#define DIM_NUM_ELBLK_GLOBAL "num_el_blk_global" |
#define DIM_NUM_ELE_ELS | ( | num | ) |
number of elements in elem set num
#define DIM_NUM_ELE_VAR "num_elem_var" |
number of element variables
#define DIM_NUM_ELEM "num_elem" |
number of elements
#define DIM_NUM_ELEMS_GLOBAL "num_elems_global" |
#define DIM_NUM_ELS "num_elem_sets" |
number of elem sets
#define DIM_NUM_ELSET_VAR "num_elset_var" |
number of element set variables
#define DIM_NUM_EM "num_elem_maps" |
number of element maps
#define DIM_NUM_ENTITY_ASSEMBLY | ( | num | ) |
#define DIM_NUM_ES "num_edge_sets" |
number of edge sets
#define DIM_NUM_ESET_VAR "num_eset_var" |
number of edgeset variables
#define DIM_NUM_EXT_NODES "num_ext_node" |
#define DIM_NUM_FA_BLK "num_fa_blk" |
number of face blocks
#define DIM_NUM_FA_IN_FBLK | ( | num | ) |
number of faces in face block num
#define DIM_NUM_FAC_PER_EL | ( | num | ) |
number of faces per element in element block num
#define DIM_NUM_FAC_VAR "num_face_var" |
number of face variables
#define DIM_NUM_FACE "num_face" |
number of faces (over all blks)
#define DIM_NUM_FACE_FS | ( | num | ) |
number of faces in side set num
#define DIM_NUM_FAM "num_face_maps" |
number of face maps
#define DIM_NUM_FS "num_face_sets" |
number of face sets
#define DIM_NUM_FSET_VAR "num_fset_var" |
number of faceset variables
#define DIM_NUM_GLO_VAR "num_glo_var" |
number of global variables
#define DIM_NUM_INFO "num_info" |
number of information records
#define DIM_NUM_INT_ELEMS "num_int_elem" |
#define DIM_NUM_INT_NODES "num_int_node" |
#define DIM_NUM_N_CMAPS "num_n_cmaps" |
#define DIM_NUM_NM "num_node_maps" |
number of node maps
#define DIM_NUM_NOD_NS | ( | num | ) |
number of nodes in node set num
#define DIM_NUM_NOD_PER_ED | ( | num | ) |
number of nodes per edge in edge block num
#define DIM_NUM_NOD_PER_EL | ( | num | ) |
number of nodes per element in element block num
#define DIM_NUM_NOD_PER_FA | ( | num | ) |
number of nodes per face in face block num
#define DIM_NUM_NOD_VAR "num_nod_var" |
number of nodal variables
#define DIM_NUM_NODES "num_nodes" |
number of nodes
#define DIM_NUM_NODES_GLOBAL "num_nodes_global" |
#define DIM_NUM_NS "num_node_sets" |
number of node sets
#define DIM_NUM_NS_GLOBAL "num_ns_global" |
#define DIM_NUM_NSET_VAR "num_nset_var" |
number of nodeset variables
#define DIM_NUM_PROCS "num_processors" |
#define DIM_NUM_PROCS_F "num_procs_file" |
#define DIM_NUM_QA "num_qa_rec" |
number of QA records
#define DIM_NUM_SIDE_SS | ( | num | ) |
number of sides in side set num
#define DIM_NUM_SS "num_side_sets" |
number of side sets
#define DIM_NUM_SS_GLOBAL "num_ss_global" |
#define DIM_NUM_SSET_VAR "num_sset_var" |
number of sideset variables
#define DIM_NUM_VALUES_BLOB | ( | num | ) |
#define DIM_STR "len_string" |
general dimension of length MAX_STR_LENGTH used for some string lengths
#define DIM_STR_NAME "len_name" |
general dimension of length MAX_NAME_LENGTH used for name lengths
#define DIM_TIME "time_step" |
unlimited (expandable) dimension for time steps
#define EX_ATTRIBUTE_ID "_id" |
#define EX_ATTRIBUTE_NAME "_name" |
#define EX_ATTRIBUTE_TYPE "_type" |
#define EX_ATTRIBUTE_TYPENAME "_typename" |
#define EX_FILE_ID_MASK (0xffff0000) |
Must match FILE_ID_MASK in NetCDF nc4internal.h
#define EX_FUNC_ENTER | ( | ) |
#define EX_FUNC_ENTER_INT | ( | ) |
#define EX_FUNC_LEAVE | ( | error | ) |
#define EX_FUNC_UNLOCK | ( | ) |
#define EX_FUNC_VOID | ( | ) |
#define EX_GRP_ID_MASK (0x0000ffff) |
Must match GRP_ID_MASK in NetCDF nc4internal.h
#define EX_UNUSED | ( | A | ) |
#define EXODUS_DEFAULT_SIZE 1 |
#define EXODUS_EXPORT extern |
#define MAX_VAR_NAME_LENGTH 32 |
Internal use only
#define VAR_ASSEMBLY_PROP | ( | num | ) |
list of the numth property for all assemblies
#define VAR_ASSEMBLY_TAB "assembly_var_tab" |
assembly variable truth table
#define VAR_ASSEMBLY_VAR | ( | num1, | |
num2 ) |
#define VAR_ATTRIB | ( | num | ) |
list of attributes for element block num
#define VAR_BLOB_PROP | ( | num | ) |
#define VAR_BLOB_TAB "blob_var_tab" |
blob variable truth table
#define VAR_BLOB_VAR | ( | num1, | |
num2 ) |
#define VAR_BOR_E_STAT "bor_e_stat" |
#define VAR_BOR_N_STAT "bor_n_stat" |
#define VAR_COMM_MAP "comm_map" |
#define VAR_CONN | ( | num | ) |
element connectivity for element block num
#define VAR_COORD "coord" |
nodal coordinates
#define VAR_COORD_X "coordx" |
X-dimension coordinate
#define VAR_COORD_Y "coordy" |
Y-dimension coordinate
#define VAR_COORD_Z "coordz" |
Z-dimension coordinate
#define VAR_E_COMM_DATA_IDX "e_comm_data_idx" |
#define VAR_E_COMM_EIDS "e_comm_eids" |
#define VAR_E_COMM_IDS "e_comm_ids" |
#define VAR_E_COMM_INFO_IDX "e_comm_info_idx" |
#define VAR_E_COMM_PROC "e_comm_proc" |
#define VAR_E_COMM_SIDS "e_comm_sids" |
#define VAR_E_COMM_STAT "e_comm_stat" |
#define VAR_EATTRIB | ( | num | ) |
list of attributes for edge block num
#define VAR_EB_PROP | ( | num | ) |
list of the numth property for all element blocks
#define VAR_EBCONN | ( | num | ) |
edge connectivity for edge block num
#define VAR_EBEPEC | ( | num | ) |
array containing number of entity per
#define VAR_EBLK_TAB "edge_var_tab" |
edge variable truth table
#define VAR_ECONN | ( | num | ) |
edge connectivity for element block num
#define VAR_ED_PROP | ( | num | ) |
list of the numth property for all edge blocks
#define VAR_EDGE_ES | ( | num | ) |
list of edges in edge set num
#define VAR_EDGE_MAP | ( | num | ) |
the numth edge map
#define VAR_EDGE_NUM_MAP "edge_num_map" |
edge numbering map
#define VAR_EDGE_VAR | ( | num1, | |
num2 ) |
values of edge variable num1 in edge block num2
#define VAR_EDM_PROP | ( | num | ) |
#define VAR_ELBLK_CNT_GLOBAL "el_blk_cnt_global" |
#define VAR_ELBLK_IDS_GLOBAL "el_blk_ids_global" |
#define VAR_ELEM_ELS | ( | num | ) |
list of elements in elem set num
#define VAR_ELEM_MAP | ( | num | ) |
the numth element map
#define VAR_ELEM_MAP_BOR "elem_mapb" |
#define VAR_ELEM_MAP_BOR_IDX "elem_mapb_idx" |
#define VAR_ELEM_MAP_INT "elem_mapi" |
#define VAR_ELEM_MAP_INT_IDX "elem_mapi_idx" |
#define VAR_ELEM_NUM_MAP "elem_num_map" |
element numbering map
#define VAR_ELEM_SS | ( | num | ) |
list of elements in side set num
#define VAR_ELEM_TAB "elem_var_tab" |
element variable truth table
#define VAR_ELEM_VAR | ( | num1, | |
num2 ) |
values of element variable num1 in element block num2
#define VAR_ELS_IDS "els_prop1" |
elem set id properties
#define VAR_ELS_PROP | ( | num | ) |
list of the numth property for all elem sets
#define VAR_ELS_STAT "els_status" |
elem set status
#define VAR_ELS_VAR | ( | num1, | |
num2 ) |
values of elemset variable num1 in elemset num2
#define VAR_ELSATTRIB | ( | num | ) |
#define VAR_ELSET_TAB "elset_var_tab" |
elemset variable truth table
#define VAR_EM_PROP | ( | num | ) |
list of the numth property for all element maps
#define VAR_ENTITY_ASSEMBLY | ( | num | ) |
#define VAR_ENTITY_BLOB | ( | num | ) |
#define VAR_ES_IDS "es_prop1" |
edge set id properties
#define VAR_ES_PROP | ( | num | ) |
list of the numth property for all edge sets
#define VAR_ES_STAT "es_status" |
edge set status
#define VAR_ES_VAR | ( | num1, | |
num2 ) |
#define VAR_ESATTRIB | ( | num | ) |
#define VAR_ESET_TAB "eset_var_tab" |
edgeset variable truth table
#define VAR_EXT_N_STAT "ext_n_stat" |
#define VAR_FA_PROP | ( | num | ) |
list of the numth property for all face blocks
#define VAR_FACE_FS | ( | num | ) |
list of elements in face set num
#define VAR_FACE_MAP | ( | num | ) |
the numth face map
#define VAR_FACE_NUM_MAP "face_num_map" |
face numbering map
#define VAR_FACE_VAR | ( | num1, | |
num2 ) |
values of face variable num1 in face block num2
#define VAR_FACT_ELS | ( | num | ) |
list of distribution factors in elem set num
#define VAR_FACT_ES | ( | num | ) |
the distribution factors for each node in edge set num
#define VAR_FACT_FS | ( | num | ) |
the distribution factors for each node in face set num
#define VAR_FACT_NS | ( | num | ) |
list of distribution factors in node set num
#define VAR_FACT_SS | ( | num | ) |
the distribution factors for each node in side set num
#define VAR_FAM_PROP | ( | num | ) |
list of the numth property for all face maps
#define VAR_FATTRIB | ( | num | ) |
list of attributes for face block num
#define VAR_FBCONN | ( | num | ) |
face connectivity for face block num
#define VAR_FBEPEC | ( | num | ) |
array containing number of entity per entity for n-sided face/element blocks
#define VAR_FBLK_TAB "face_var_tab" |
face variable truth table
#define VAR_FCONN | ( | num | ) |
face connectivity for element block num
#define VAR_FILE_TYPE "nem_ftype" |
#define VAR_FRAME_COORDS "frame_coordinates" |
#define VAR_FRAME_IDS "frame_ids" |
#define VAR_FRAME_TAGS "frame_tags" |
#define VAR_FS_IDS "fs_prop1" |
face set id properties
#define VAR_FS_PROP | ( | num | ) |
list of the numth property for all face sets
#define VAR_FS_STAT "fs_status" |
face set status
#define VAR_FS_VAR | ( | num1, | |
num2 ) |
values of faceset variable num1 in faceset num2
#define VAR_FSATTRIB | ( | num | ) |
#define VAR_FSET_TAB "fset_var_tab" |
faceset variable truth table
#define VAR_GLO_VAR "vals_glo_var" |
values of global variables
#define VAR_ID_ED_BLK "ed_prop1" |
edge block ids props
#define VAR_ID_EL_BLK "eb_prop1" |
element block ids props
#define VAR_ID_FA_BLK "fa_prop1" |
face block ids props
#define VAR_INFO "info_records" |
information records
#define VAR_INT_E_STAT "int_e_stat" |
#define VAR_INT_N_STAT "int_n_stat" |
#define VAR_MAP "elem_map" |
element order map
#define VAR_N_COMM_DATA_IDX "n_comm_data_idx" |
#define VAR_N_COMM_IDS "n_comm_ids" |
#define VAR_N_COMM_INFO_IDX "n_comm_info_idx" |
#define VAR_N_COMM_NIDS "n_comm_nids" |
#define VAR_N_COMM_PROC "n_comm_proc" |
#define VAR_N_COMM_STAT "n_comm_stat" |
#define VAR_NAME_ASSEMBLY_VAR "name_assembly_var" |
names of assembly variables
#define VAR_NAME_ATTRIB | ( | num | ) |
list of attribute names for element block num
#define VAR_NAME_BLOB_VAR "name_blob_var" |
names of blob variables
#define VAR_NAME_COOR "coor_names" |
names of coordinates
#define VAR_NAME_EATTRIB | ( | num | ) |
list of attribute names for edge block num
#define VAR_NAME_ED_BLK "ed_names" |
names of edge blocks
#define VAR_NAME_EDG_VAR "name_edge_var" |
names of edge variables
#define VAR_NAME_EDM "edmap_names" |
names of edge maps
#define VAR_NAME_EL_BLK "eb_names" |
names of element blocks
#define VAR_NAME_ELE_VAR "name_elem_var" |
names of element variables
#define VAR_NAME_ELS "els_names" |
names of element sets
#define VAR_NAME_ELSATTRIB | ( | num | ) |
#define VAR_NAME_ELSET_VAR "name_elset_var" |
names of elemset variables
#define VAR_NAME_EM "emap_names" |
names of element maps
#define VAR_NAME_ES "es_names" |
names of edge sets
#define VAR_NAME_ESATTRIB | ( | num | ) |
#define VAR_NAME_ESET_VAR "name_eset_var" |
values of edgeset variable num1 in edgeset num2
names of edgeset variables
#define VAR_NAME_FA_BLK "fa_names" |
names of face blocks
#define VAR_NAME_FAC_VAR "name_face_var" |
names of face variables
#define VAR_NAME_FAM "famap_names" |
names of face maps
#define VAR_NAME_FATTRIB | ( | num | ) |
list of attribute names for face block num
#define VAR_NAME_FS "fs_names" |
names of face sets
#define VAR_NAME_FSATTRIB | ( | num | ) |
#define VAR_NAME_FSET_VAR "name_fset_var" |
names of faceset variables
#define VAR_NAME_GLO_VAR "name_glo_var" |
names of global variables
#define VAR_NAME_NATTRIB "nattrib_name" |
#define VAR_NAME_NM "nmap_names" |
names of node maps
#define VAR_NAME_NOD_VAR "name_nod_var" |
names of nodal variables
#define VAR_NAME_NS "ns_names" |
names of node sets
#define VAR_NAME_NSATTRIB | ( | num | ) |
#define VAR_NAME_NSET_VAR "name_nset_var" |
names of nodeset variables
#define VAR_NAME_SS "ss_names" |
names of side sets
#define VAR_NAME_SSATTRIB | ( | num | ) |
#define VAR_NAME_SSET_VAR "name_sset_var" |
names of sideset variables
#define VAR_NATTRIB "nattrb" |
#define VAR_NM_PROP | ( | num | ) |
list of the numth property for all node maps
#define VAR_NOD_VAR "vals_nod_var" |
values of nodal variables
#define VAR_NOD_VAR_NEW | ( | num | ) |
values of nodal variables
#define VAR_NODE_MAP | ( | num | ) |
the numth node map
#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_NODE_MAP_INT "node_mapi" |
#define VAR_NODE_MAP_INT_IDX "node_mapi_idx" |
#define VAR_NODE_NS | ( | num | ) |
list of nodes in node set num
#define VAR_NODE_NUM_MAP "node_num_map" |
node numbering map
#define VAR_NS_DF_CNT_GLOBAL "ns_df_cnt_global" |
#define VAR_NS_IDS "ns_prop1" |
node set id properties
#define VAR_NS_IDS_GLOBAL "ns_ids_global" |
#define VAR_NS_NODE_CNT_GLOBAL "ns_node_cnt_global" |
#define VAR_NS_PROP | ( | num | ) |
list of the numth property for all node sets
#define VAR_NS_STAT "ns_status" |
node set status
#define VAR_NS_VAR | ( | num1, | |
num2 ) |
values of nodeset variable num1 in nodeset num2
#define VAR_NSATTRIB | ( | num | ) |
#define VAR_NSET_TAB "nset_var_tab" |
nodeset variable truth table
#define VAR_ORNT_ES | ( | num | ) |
list of orientations in the edge set.
#define VAR_ORNT_FS | ( | num | ) |
list of sides in side set
#define VAR_QA_TITLE "qa_records" |
QA records
#define VAR_SIDE_SS | ( | num | ) |
list of sides in side set
#define VAR_SS_DF_CNT_GLOBAL "ss_df_cnt_global" |
#define VAR_SS_IDS "ss_prop1" |
side set id properties
#define VAR_SS_IDS_GLOBAL "ss_ids_global" |
#define VAR_SS_PROP | ( | num | ) |
list of the numth property for all side sets
#define VAR_SS_SIDE_CNT_GLOBAL "ss_side_cnt_global" |
#define VAR_SS_STAT "ss_status" |
side set status
#define VAR_SS_VAR | ( | num1, | |
num2 ) |
values of sideset variable num1 in sideset num2
#define VAR_SSATTRIB | ( | num | ) |
#define VAR_SSET_TAB "sset_var_tab" |
sideset variable truth table
#define VAR_STAT_ECONN "econn_status" |
element block edge status
#define VAR_STAT_ED_BLK "ed_status" |
edge block status
#define VAR_STAT_EL_BLK "eb_status" |
element block status
#define VAR_STAT_FA_BLK "fa_status" |
face block status
#define VAR_STAT_FCONN "fconn_status" |
element block face status
#define VAR_WHOLE_TIME "time_whole" |
simulation times for whole time steps
typedef enum exi_coordinate_frame_type exi_coordinate_frame_type |
typedef enum exi_element_type exi_element_type |
enum exi_element_type |
struct exi_file_item * exi_add_file_item | ( | int | exoid | ) |
|
extern |
|
extern |
exi_catstr - concatenate string/number (where number is converted to ASCII)
|
extern |
exi_catstr2 - concatenate string1num1string2num2
|
extern |
|
extern |
Return fatal error if exoid does not refer to valid file
|
extern |
|
extern |
|
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).
exoid | integer which uniquely identifies the file of interest. |
|
extern |
|
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.
exoid | integer which uniquely identifies the file of interest. |
|
extern |
exi_conv_init() initializes the floating point conversion process.
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. |
is_write | 1 if output file; 0 if readonly |
word size parameters are specified in bytes. valid values are 0, 4, and 8:
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
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:
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().
|
extern |
|
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().
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:
|
extern |
Internal function. Do not use in client code.
|
extern |
Internal function. Do not use in client code.
|
extern |
|
extern |
|
extern |
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().
[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] | num_nodes | The number of nodal points. |
[in] | beg_time_step | The first time step to get values for. |
[in] | end_time_step | The last time step to get values for. |
[out] | nodal_var_vals | Returned 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:
|
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().
[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:
|
extern |
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
int exi_get_varid | ( | int | exoid, |
ex_entity_type | obj_type, | ||
ex_entity_id | id ) |
|
extern |
|
extern |
|
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:
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().
|
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'.
|
extern |
|
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.
exoid | integer which uniquely identifies the file of interest. |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
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.
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
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().
[in] | exoid | exodus file ID returned from a previous call to ex_create() or ex_open(). |
[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] | beg_time_step | The 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_step | The 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_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:
|
extern |
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
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 |
|
extern |
EXODUS_EXPORT void exi_reset_error_status | ( | void | ) |
|
extern |
this routine removes a structure to track and increment a counter for each open exodus file.
The list structure is used as follows:
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().
|
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
|
extern |
|
extern |
|
extern |
|
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.
|
extern |
|
extern |
|
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.
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |